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

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

Issue 2550333002: Revert of Verify paintedOutputOfObjectHasNoEffectRegardlessOfSize during painting (Closed)
Patch Set: Created 4 years 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/PaintController.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
index cde4c2d9c453e2ce977c55693b3d84477355a4aa..8aaebc3ed5f38df9e07115a0e92dd14f9956d3b3 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
@@ -187,10 +187,6 @@
#if DCHECK_IS_ON()
void assertDisplayItemClientsAreLive();
-
- enum Usage { ForNormalUsage, ForSkPictureBuilder };
- void setUsage(Usage usage) { m_usage = usage; }
- bool isForSkPictureBuilder() const { return m_usage == ForSkPictureBuilder; }
#endif
void setTracksRasterInvalidations(bool value);
@@ -355,8 +351,6 @@
#if DCHECK_IS_ON()
// This is used to check duplicated ids during createAndAppend().
IndicesByClientMap m_newDisplayItemIndicesByClient;
-
- Usage m_usage;
#endif
// These are set in useCachedDrawingIfPossible() and

Powered by Google App Engine
This is Rietveld 408576698