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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h

Issue 1508223005: Client side display item cache flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Try performance 2 Created 4 years, 8 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/GraphicsLayer.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
index 1e712463aa512ee666e9bfcb637bcfd3254ab1e7..e5b09d40f45ea066b544572e0019cfd2dffbda4f 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
@@ -251,6 +251,8 @@ public:
String debugName() const final { return m_client->debugName(this); }
LayoutRect visualRect() const override;
+ void setCanUseClientCacheStatus(bool);
+
protected:
String debugName(cc::Layer*) const;
bool shouldFlattenTransform() const { return m_shouldFlattenTransform; }
@@ -261,6 +263,8 @@ protected:
friend class PaintControllerPaintTestBase;
private:
+ DISPLAY_ITEM_CACHE_STATUS_UNCACHEABLE_IMPLEMENTATION
+
// Returns true if PaintController::paintArtifact() changed and needs commit.
bool paintWithoutCommit(const IntRect* interestRect, GraphicsContext::DisabledMode = GraphicsContext::NothingDisabled);

Powered by Google App Engine
This is Rietveld 408576698