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

Unified Diff: Source/core/paint/SVGClipPainter.cpp

Issue 1193433004: Blink-side contiguous allocation of display items. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add ListContainer::AllocateAndConstructWithArguments and a TODO in DisplayItemList::findMatchingIte… 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/core/paint/RoundedInnerRectClipper.cpp ('k') | Source/core/paint/SVGMaskPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/SVGClipPainter.cpp
diff --git a/Source/core/paint/SVGClipPainter.cpp b/Source/core/paint/SVGClipPainter.cpp
index ec19fd9440a1561f7cd87c014135d1c18391dd2b..30dcf4a0a54045e9383a205a4821b59eb4f63e7c 100644
--- a/Source/core/paint/SVGClipPainter.cpp
+++ b/Source/core/paint/SVGClipPainter.cpp
@@ -105,7 +105,7 @@ void SVGClipPainter::postApplyStatefulResource(const LayoutObject& target, Graph
if (context->displayItemList()->lastDisplayItemIsNoopBegin())
context->displayItemList()->removeLastDisplayItem();
else
- context->displayItemList()->add(EndClipPathDisplayItem::create(target));
+ context->displayItemList()->createAndAppend<EndClipPathDisplayItem>(target);
}
} else {
EndClipPathDisplayItem endClipPathDisplayItem(target);
« no previous file with comments | « Source/core/paint/RoundedInnerRectClipper.cpp ('k') | Source/core/paint/SVGMaskPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698