Commit 98bfb708 authored by Xida Chen's avatar Xida Chen Committed by Commit Bot

[Code health] Remove a include in paint_op_buffer.h

The include of the image_provider.h is not necessary, instead a forward
declaration is enough. This CL does that. It should not introduce any
behavior change.

Bug: None
Change-Id: Iccc485099e6d2e7789329d746048f9dfc88b2787
Reviewed-on: https://chromium-review.googlesource.com/c/1430584Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Reviewed-by: default avatarEric Karl <ericrk@chromium.org>
Reviewed-by: default avatarvmpstr <vmpstr@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#625762}
parent d981bbd9
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "base/memory/aligned_memory.h" #include "base/memory/aligned_memory.h"
#include "base/optional.h" #include "base/optional.h"
#include "cc/base/math_util.h" #include "cc/base/math_util.h"
#include "cc/paint/image_provider.h"
#include "cc/paint/paint_canvas.h" #include "cc/paint/paint_canvas.h"
#include "cc/paint/paint_export.h" #include "cc/paint/paint_export.h"
#include "cc/paint/paint_flags.h" #include "cc/paint/paint_flags.h"
...@@ -40,6 +39,7 @@ class SkStrikeServer; ...@@ -40,6 +39,7 @@ class SkStrikeServer;
// See: third_party/skia/src/core/SkLiteDL.h. // See: third_party/skia/src/core/SkLiteDL.h.
namespace cc { namespace cc {
class ClientPaintCache; class ClientPaintCache;
class ImageProvider;
class ServicePaintCache; class ServicePaintCache;
class PaintWorkletImageProvider; class PaintWorkletImageProvider;
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include "base/containers/flat_map.h" #include "base/containers/flat_map.h"
#include "cc/paint/color_space_transfer_cache_entry.h" #include "cc/paint/color_space_transfer_cache_entry.h"
#include "cc/paint/display_item_list.h" #include "cc/paint/display_item_list.h"
#include "cc/paint/image_provider.h"
#include "components/viz/common/resources/resource_format_utils.h" #include "components/viz/common/resources/resource_format_utils.h"
#include "gpu/GLES2/gl2extchromium.h" #include "gpu/GLES2/gl2extchromium.h"
#include "gpu/command_buffer/client/client_test_helper.h" #include "gpu/command_buffer/client/client_test_helper.h"
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "third_party/blink/renderer/platform/graphics/bitmap_image.h" #include "third_party/blink/renderer/platform/graphics/bitmap_image.h"
#include "base/test/simple_test_tick_clock.h" #include "base/test/simple_test_tick_clock.h"
#include "cc/paint/image_provider.h"
#include "cc/paint/skia_paint_canvas.h" #include "cc/paint/skia_paint_canvas.h"
#include "cc/tiles/mipmap_util.h" #include "cc/tiles/mipmap_util.h"
#include "testing/gtest/include/gtest/gtest.h" #include "testing/gtest/include/gtest/gtest.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