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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.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/platform/graphics/paint/SubsequenceRecorder.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.h b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.h
index 483a868f9e7c7a199129e27c191410137779ca77..a24e8a31977f029da24ed173dba3551e8f9d3bc8 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.h
@@ -26,16 +26,16 @@ class PLATFORM_EXPORT SubsequenceRecorder final {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
WTF_MAKE_NONCOPYABLE(SubsequenceRecorder);
public:
- static bool useCachedSubsequenceIfPossible(GraphicsContext&, const DisplayItemClientWrapper&);
+ static bool useCachedSubsequenceIfPossible(GraphicsContext&, const DisplayItemClient&);
- SubsequenceRecorder(GraphicsContext&, const DisplayItemClientWrapper&);
+ SubsequenceRecorder(GraphicsContext&, const DisplayItemClient&);
~SubsequenceRecorder();
void setUncacheable();
private:
PaintController& m_paintController;
- DisplayItemClientWrapper m_client;
+ const DisplayItemClient& m_client;
size_t m_beginSubsequenceIndex;
};

Powered by Google App Engine
This is Rietveld 408576698