Commit caba47da authored by tfarina's avatar tfarina Committed by Commit bot

Cleanup: Include the associated header file before other includes.

Found by Facebook's flint tool:
$ flint ui/gfx/x/x11_error_tracker.cc
ui/gfx/x/x11_error_tracker.cc:6: The associated header file of .cpp
files should be included before any other includes.

Then built with:
$ gn gen out-gn
$ ninja -C out-gn x

BUG=None
TEST=see above
R=sadrul@chromium.org

Review URL: https://codereview.chromium.org/966173002

Cr-Commit-Position: refs/heads/master@{#318757}
parent 66c53eef
......@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/logging.h"
#include "ui/gfx/x/x11_error_tracker.h"
#include "base/logging.h"
#include "ui/gfx/x/x11_types.h"
namespace {
......@@ -16,7 +16,8 @@ int X11ErrorHandler(Display* display, XErrorEvent* error) {
g_x11_error_code = error->error_code;
return 0;
}
}
} // namespace
namespace gfx {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment