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

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

Issue 2161253003: Revert of PaintChunk::id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@CommitOnTheWay
Patch Set: Created 4 years, 5 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..ea301b43604d559254c7be367ff3fc1d4a3b450a 100644
--- a/third_party/WebKit/Source/platform/testing/FakeDisplayItemClient.h
+++ b/third_party/WebKit/Source/platform/testing/FakeDisplayItemClient.h
@@ -20,12 +20,6 @@
String debugName() const final { return m_name; }
LayoutRect visualRect() const override { return m_visualRect; }
- // This simulates a paint without needing a PaintController.
- void updateCacheGeneration()
- {
- setDisplayItemsCached(CacheGenerationOrInvalidationReason::next());
- }
-
private:
String m_name;
LayoutRect m_visualRect;

Powered by Google App Engine
This is Rietveld 408576698