| Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| index 63490d93975d90e25af178863d1094bd29dfb420..4677310c3963f59ac7265564d0146e979a794564 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -2853,16 +2853,10 @@
|
|
|
| void PaintLayer::setNeedsRepaint()
|
| {
|
| - setNeedsRepaintInternal();
|
| + m_needsRepaint = true;
|
|
|
| // Do this unconditionally to ensure container chain is marked when compositing status of the layer changes.
|
| markCompositingContainerChainForNeedsRepaint();
|
| -}
|
| -
|
| -void PaintLayer::setNeedsRepaintInternal()
|
| -{
|
| - m_needsRepaint = true;
|
| - setDisplayItemsUncached(); // Invalidate as a display item client.
|
| }
|
|
|
| void PaintLayer::markCompositingContainerChainForNeedsRepaint()
|
| @@ -2890,7 +2884,7 @@
|
| }
|
| if (container->m_needsRepaint)
|
| break;
|
| - container->setNeedsRepaintInternal();
|
| + container->m_needsRepaint = true;
|
| layer = container;
|
| }
|
| }
|
|
|