Chromium Code Reviews| 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()), |