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

Unified Diff: Source/core/rendering/style/RenderStyle.cpp

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 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: Source/core/rendering/style/RenderStyle.cpp
diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp
index 93e907ac1076bd5079cab8f72a997bc605cb2064..ad97136f47c0dffaa3fcbcbd6eeda49682969d2e 100644
--- a/Source/core/rendering/style/RenderStyle.cpp
+++ b/Source/core/rendering/style/RenderStyle.cpp
@@ -1642,6 +1642,14 @@ Color RenderStyle::initialTapHighlightColor()
return RenderTheme::tapHighlightColor();
}
+#if ENABLE(OILPAN)
haraken 2014/11/11 05:22:46 Can we avoid introducing the #if flag? DEFINE_STA
sof 2014/11/12 13:45:07 I don't think CPP is entirely avoidable, as we nee
+const FilterOperations& RenderStyle::initialFilter()
+{
+ DEFINE_STATIC_LOCAL(Persistent<FilterOperationsWrapper>, ops, (FilterOperationsWrapper::create()));
+ return ops->operations();
+}
+#endif
+
LayoutBoxExtent RenderStyle::imageOutsets(const NinePieceImage& image) const
{
return LayoutBoxExtent(NinePieceImage::computeOutset(image.outset().top(), borderTopWidth()),

Powered by Google App Engine
This is Rietveld 408576698