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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.cpp

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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/PaintController.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.cpp b/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.cpp
index 3905adda144bfafdfda3ecedbad9ebde7b6e44de..cdc23e9bea6b68301636a58f35efa4d4f04a833b 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.cpp
@@ -26,10 +26,6 @@
m_paintControllerPtr = PaintController::create();
m_paintController = m_paintControllerPtr.get();
}
-#if DCHECK_IS_ON()
- m_paintController->setUsage(PaintController::ForSkPictureBuilder);
-#endif
-
m_context = wrapUnique(
new GraphicsContext(*m_paintController, disabledMode, metaData));
@@ -39,11 +35,7 @@
}
}
-SkPictureBuilder::~SkPictureBuilder() {
-#if DCHECK_IS_ON()
- m_paintController->setUsage(PaintController::ForNormalUsage);
-#endif
-}
+SkPictureBuilder::~SkPictureBuilder() {}
sk_sp<SkPicture> SkPictureBuilder::endRecording() {
m_context->beginRecording(m_bounds);
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/PaintController.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698