Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: third_party/WebKit/Source/core/paint/CompositingRecorder.h

Issue 1497873002: Make DisplayItemClient an interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/CompositingRecorder.h
diff --git a/third_party/WebKit/Source/core/paint/CompositingRecorder.h b/third_party/WebKit/Source/core/paint/CompositingRecorder.h
index 8bc6a27c164d87c9067aedfe8c99a69a42c39e23..f6b9c97340d33ccc2b4b75b35054869f2cfb7b74 100644
--- a/third_party/WebKit/Source/core/paint/CompositingRecorder.h
+++ b/third_party/WebKit/Source/core/paint/CompositingRecorder.h
@@ -19,17 +19,17 @@ class LayoutObject;
class CompositingRecorder {
USING_FAST_MALLOC(CompositingRecorder);
public:
- CompositingRecorder(GraphicsContext&, const DisplayItemClientWrapper&, const SkXfermode::Mode, const float opacity, const FloatRect* bounds = 0, ColorFilter = ColorFilterNone);
+ CompositingRecorder(GraphicsContext&, const DisplayItemClient&, const SkXfermode::Mode, const float opacity, const FloatRect* bounds = 0, ColorFilter = ColorFilterNone);
~CompositingRecorder();
// FIXME: These helpers only exist to ease the transition to slimming paint
// and should be removed once slimming paint is enabled by default.
- static void beginCompositing(GraphicsContext&, const DisplayItemClientWrapper&, const SkXfermode::Mode, const float opacity, const FloatRect* bounds = 0, ColorFilter = ColorFilterNone);
- static void endCompositing(GraphicsContext&, const DisplayItemClientWrapper&);
+ static void beginCompositing(GraphicsContext&, const DisplayItemClient&, const SkXfermode::Mode, const float opacity, const FloatRect* bounds = 0, ColorFilter = ColorFilterNone);
+ static void endCompositing(GraphicsContext&, const DisplayItemClient&);
private:
- DisplayItemClientWrapper m_client;
+ const DisplayItemClient& m_client;
GraphicsContext& m_graphicsContext;
};
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/InlineBox.h ('k') | third_party/WebKit/Source/core/paint/CompositingRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698