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

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

Issue 1396783003: Factor PaintArtifact out of DisplayItemList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@const-replay
Patch Set: Created 5 years, 2 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/graphics/paint/SkPictureBuilder.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h b/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h
index 035271f8177405c00f43689220554a4621e2942d..4ba54884700030e12c78b2fda9ec09ed7a441c91 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h
@@ -39,7 +39,8 @@ public:
PassRefPtr<const SkPicture> endRecording()
{
m_context->beginRecording(m_bounds);
- m_displayItemList->commitNewDisplayItemsAndReplay(*m_context);
+ m_displayItemList->commitNewDisplayItems();
+ m_displayItemList->paintArtifact().replay(*m_context);
return m_context->endRecording();
}

Powered by Google App Engine
This is Rietveld 408576698