Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(937)

Unified Diff: third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp

Issue 2398453002: Rewrap comments to 80 columns in Source/platform/graphics/. (Closed)
Patch Set: Review feedback Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698