Index: third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp |
diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp |
index ef27986c97a515c4c244cd3f4ad4975feed3539e..b4c3bd8d439e8abc08a8a68acfd746f3af2f884a 100644 |
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp |
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp |
@@ -630,16 +630,9 @@ void PaintInvalidationState::assertFastPathAndSlowPathRectsEqual( |
#endif // CHECK_FAST_PATH_SLOW_PATH_EQUALITY |
-static const PaintPropertyTreeBuilderContext& dummyTreeBuilderContext() { |
- DEFINE_STATIC_LOCAL(PaintPropertyTreeBuilderContext, dummyContext, ()); |
- return dummyContext; |
-} |
- |
PaintInvalidatorContextAdapter::PaintInvalidatorContextAdapter( |
const PaintInvalidationState& paintInvalidationState) |
- // The dummy parameters will be never used because the overriding |
- // mapLocalRectToVisualRectInBacking() uses PaintInvalidationState. |
- : PaintInvalidatorContext(dummyTreeBuilderContext()), |
+ : PaintInvalidatorContext(nullptr), |
m_paintInvalidationState(paintInvalidationState) { |
forcedSubtreeInvalidationFlags = |
paintInvalidationState.m_forcedSubtreeInvalidationFlags; |