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

Unified Diff: Source/platform/graphics/paint/DrawingRecorder.cpp

Issue 1198583004: Move all drawing display item parameters to the constructor (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix release build Created 5 years, 6 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
« no previous file with comments | « Source/platform/graphics/paint/DrawingDisplayItem.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/paint/DrawingRecorder.cpp
diff --git a/Source/platform/graphics/paint/DrawingRecorder.cpp b/Source/platform/graphics/paint/DrawingRecorder.cpp
index 34b43b3b99dd704803043d5ba30baaffd5a1f975..c697e0b531344892b760bb0fd1407bbd410f18af 100644
--- a/Source/platform/graphics/paint/DrawingRecorder.cpp
+++ b/Source/platform/graphics/paint/DrawingRecorder.cpp
@@ -93,10 +93,13 @@ DrawingRecorder::~DrawingRecorder()
#endif
m_context.displayItemList()->add(CachedDisplayItem::create(m_displayItemClient, DisplayItem::drawingTypeToCachedType(m_displayItemType)));
} else {
- OwnPtr<DrawingDisplayItem> drawingDisplayItem = DrawingDisplayItem::create(m_displayItemClient, m_displayItemType, m_context.endRecording());
+ OwnPtr<DrawingDisplayItem> drawingDisplayItem = DrawingDisplayItem::create(m_displayItemClient
+ , m_displayItemType
+ , m_context.endRecording()
#if ENABLE(ASSERT)
- drawingDisplayItem->setUnderInvalidationCheckingMode(m_underInvalidationCheckingMode);
+ , m_underInvalidationCheckingMode
#endif
+ );
m_context.displayItemList()->add(drawingDisplayItem.release());
}
}
« no previous file with comments | « Source/platform/graphics/paint/DrawingDisplayItem.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698