| Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| index 92a5678076aae0a620e5187d444f6b1ad2b0eae2..f7b7cf549950a6887417843f67fec82d08c9860c 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -293,20 +293,10 @@ void GraphicsLayer::setOffsetDoubleFromLayoutObject(const DoubleSize& offset, Sh
|
| setNeedsDisplay();
|
| }
|
|
|
| -void GraphicsLayer::paintIfNeeded(GraphicsContext& context)
|
| +void GraphicsLayer::paint(GraphicsContext& context, const IntRect* clip)
|
| {
|
| - ASSERT(RuntimeEnabledFeatures::slimmingPaintSynchronizedPaintingEnabled());
|
| - if (!m_client)
|
| - return;
|
| - if (firstPaintInvalidationTrackingEnabled())
|
| - m_debugInfo.clearAnnotatedInvalidateRects();
|
| - incrementPaintCount();
|
| - m_client->paintContentsIfNeeded(this, context, m_paintingPhase);
|
| - notifyFirstPaintToClient();
|
| -}
|
| + ASSERT(clip || RuntimeEnabledFeatures::slimmingPaintSynchronizedPaintingEnabled());
|
|
|
| -void GraphicsLayer::paint(GraphicsContext& context, const IntRect& clip)
|
| -{
|
| if (!m_client)
|
| return;
|
| if (firstPaintInvalidationTrackingEnabled())
|
|
|