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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.h

Issue 1375393002: Output subsequence for children layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix blink_platform_unittests and address pdr's comments Created 5 years, 3 months 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 2cc13306d26db6d51c2f8de38cf20b62d45748fd..03c70e3b7be6f231d7ed86ce4a2b4853fd6585f0 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.h
@@ -5,7 +5,7 @@
#ifndef SubsequenceRecorder_h
#define SubsequenceRecorder_h
-#include "platform/graphics/paint/DisplayItemClient.h"
+#include "platform/graphics/paint/DisplayItem.h"
namespace blink {
@@ -22,9 +22,9 @@ class GraphicsContext;
//
class PLATFORM_EXPORT SubsequenceRecorder {
public:
- static bool useCachedSubsequenceIfPossible(GraphicsContext&, const DisplayItemClientWrapper&);
+ static bool useCachedSubsequenceIfPossible(GraphicsContext&, const DisplayItemClientWrapper&, DisplayItem::Type);
- SubsequenceRecorder(GraphicsContext&, const DisplayItemClientWrapper&);
+ SubsequenceRecorder(GraphicsContext&, const DisplayItemClientWrapper&, DisplayItem::Type);
~SubsequenceRecorder();
void setUncacheable();
@@ -33,6 +33,7 @@ private:
DisplayItemList* m_displayItemList;
DisplayItemClientWrapper m_client;
size_t m_beginSubsequenceIndex;
+ DisplayItem::Type m_type;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698