| Index: third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp b/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
|
| index a7e755a9ced1fe98774723415aaa4b5567ccee73..4e22cf523a760228965768fe9a6c1da4dc0a6769 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
|
| @@ -84,8 +84,9 @@ void ContentLayerDelegate::paintContents(
|
| if (paintingControl == WebContentLayerClient::PartialInvalidation)
|
| m_graphicsLayer->client()->invalidateTargetElementForTesting();
|
|
|
| - // We also disable caching when Painting or Construction are disabled. In both cases we would like
|
| - // to compare assuming the full cost of recording, not the cost of re-using cached content.
|
| + // We also disable caching when Painting or Construction are disabled. In both
|
| + // cases we would like to compare assuming the full cost of recording, not the
|
| + // cost of re-using cached content.
|
| if (paintingControl != WebContentLayerClient::PaintDefaultBehavior &&
|
| paintingControl != WebContentLayerClient::PaintDefaultBehaviorForTest &&
|
| paintingControl != WebContentLayerClient::SubsequenceCachingDisabled)
|
| @@ -96,9 +97,10 @@ void ContentLayerDelegate::paintContents(
|
| paintingControl == WebContentLayerClient::DisplayListConstructionDisabled)
|
| disabledMode = GraphicsContext::FullyDisabled;
|
|
|
| - // Anything other than PaintDefaultBehavior is for testing. In non-testing scenarios,
|
| - // it is an error to call GraphicsLayer::paint. Actual painting occurs in FrameView::synchronizedPaint;
|
| - // this method merely copies the painted output to the WebDisplayItemList.
|
| + // Anything other than PaintDefaultBehavior is for testing. In non-testing
|
| + // scenarios, it is an error to call GraphicsLayer::paint. Actual painting
|
| + // occurs in FrameView::synchronizedPaint; this method merely copies the
|
| + // painted output to the WebDisplayItemList.
|
| if (paintingControl != PaintDefaultBehavior)
|
| m_graphicsLayer->paint(nullptr, disabledMode);
|
|
|
|
|