Commit 4b483fc6 authored by Hans Wennborg's avatar Hans Wennborg Committed by Commit Bot

logging.h related include-what-you-use (cc/)

Fix code that was implicitly depending on logging.h or its
dependencies.

For example, code that uses DISALLOW_COPY_AND_ASSIGN should
include base/macros.h, but it currently happens to work if
it pulls in logging.h directly or through some dependency.

This is part of refactoring the codebase to use
check.h/check_op.h for the CHECK and CHECK_op macro
instead of logging.h.

Bug: 1031540
Change-Id: Ia68258fa0d399fc9445d09a9ee5e510fd1265923
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2156985
Auto-Submit: Hans Wennborg <hans@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Reviewed-by: default avatardanakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761061}
parent 5fce95da
......@@ -6,6 +6,8 @@
#include <algorithm>
#include "base/logging.h"
namespace cc {
ReverseSpiralIterator::ReverseSpiralIterator()
......
......@@ -4,6 +4,8 @@
#include "cc/base/spiral_iterator.h"
#include "base/check_op.h"
#include <algorithm>
namespace cc {
......
......@@ -6,6 +6,7 @@
#include <algorithm>
#include "base/logging.h"
#include "base/numerics/ranges.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_f.h"
......
......@@ -3,6 +3,8 @@
// found in the LICENSE file.
#include "cc/input/scroll_snap_data.h"
#include "base/logging.h"
#include "base/numerics/ranges.h"
#include "cc/input/snap_selection_strategy.h"
......
......@@ -6,6 +6,7 @@
#include <tuple>
#include "base/logging.h"
#include "base/stl_util.h"
namespace cc {
......
......@@ -5,6 +5,7 @@
#include "cc/paint/paint_cache.h"
#include "base/containers/flat_set.h"
#include "base/logging.h"
#include "base/no_destructor.h"
#include "base/synchronization/lock.h"
......
......@@ -4,6 +4,8 @@
#include "cc/paint/shader_transfer_cache_entry.h"
#include "base/logging.h"
namespace cc {
ServiceShaderTransferCacheEntry::ServiceShaderTransferCacheEntry(
......
......@@ -9,6 +9,7 @@
#include <memory>
#include <string>
#include "base/callback.h"
#include "base/memory/discardable_memory.h"
#include "base/memory/scoped_refptr.h"
#include "cc/cc_export.h"
......
......@@ -4,6 +4,7 @@
#include "cc/trees/occlusion.h"
#include "base/logging.h"
#include "cc/base/math_util.h"
#include "ui/gfx/geometry/rect.h"
......
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