| 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 5fd170864b56105a61e443e271fefd22b4afbc01..957df9c216b0eb77168dc155f029fa51fff97df7 100644
|
| --- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| @@ -630,11 +630,6 @@ void PaintInvalidationState::assertFastPathAndSlowPathRectsEqual(
|
|
|
| #endif // CHECK_FAST_PATH_SLOW_PATH_EQUALITY
|
|
|
| -static const PaintPropertyTreeBuilderContext& dummyTreeBuilderContext() {
|
| - DEFINE_STATIC_LOCAL(PaintPropertyTreeBuilderContext, dummyContext, ());
|
| - return dummyContext;
|
| -}
|
| -
|
| static GeometryMapper& dummyGeometryMapper() {
|
| DEFINE_STATIC_LOCAL(std::unique_ptr<GeometryMapper>, dummyMapper,
|
| (GeometryMapper::create()));
|
| @@ -643,9 +638,9 @@ static GeometryMapper& dummyGeometryMapper() {
|
|
|
| PaintInvalidatorContextAdapter::PaintInvalidatorContextAdapter(
|
| const PaintInvalidationState& paintInvalidationState)
|
| - // The dummy parameters will be never used because the overriding
|
| + // The dummy parameter will be never used because the overriding
|
| // mapLocalRectToVisualRectInBacking() uses PaintInvalidationState.
|
| - : PaintInvalidatorContext(dummyTreeBuilderContext(), dummyGeometryMapper()),
|
| + : PaintInvalidatorContext(nullptr, dummyGeometryMapper()),
|
| m_paintInvalidationState(paintInvalidationState) {
|
| forcedSubtreeInvalidationFlags =
|
| paintInvalidationState.m_forcedSubtreeInvalidationFlags;
|
|
|