Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 1508223005: Client side display item cache flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Fix unit tests Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 82f1a1ba82046491252f0d0d9b43aab389443983..a200244cf9bbdd2284642cc4e8a7d7c1f4ee7c5d 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -113,6 +113,7 @@ struct SameSizeAsPaintLayer : DisplayItemClient {
void* pointer;
LayoutRect rect;
} previousPaintStatus;
+ DisplayItemCacheGeneration cacheGeneration;
};
static_assert(sizeof(PaintLayer) == sizeof(SameSizeAsPaintLayer), "PaintLayer should stay small");

Powered by Google App Engine