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

Unified Diff: third_party/WebKit/Source/platform/testing/FakeDisplayItemClient.h

Issue 2277443003: [SPv2] Rasterization invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - Created 4 years, 4 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/testing/FakeDisplayItemClient.h
diff --git a/third_party/WebKit/Source/platform/testing/FakeDisplayItemClient.h b/third_party/WebKit/Source/platform/testing/FakeDisplayItemClient.h
index 051a8886e7c9c46c4f2e28f48b3d54c0881b8893..cdedc70c251945bce25aac4f1601f6465b33a0b0 100644
--- a/third_party/WebKit/Source/platform/testing/FakeDisplayItemClient.h
+++ b/third_party/WebKit/Source/platform/testing/FakeDisplayItemClient.h
@@ -20,6 +20,8 @@ public:
String debugName() const final { return m_name; }
LayoutRect visualRect() const override { return m_visualRect; }
+ void setVisualRect(const LayoutRect& r) { m_visualRect = r; }
+
// This simulates a paint without needing a PaintController.
void updateCacheGeneration()
{

Powered by Google App Engine
This is Rietveld 408576698