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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ScopedPaintChunkProperties.h

Issue 2385123003: Rewrap comments to 80 columns in Source/platform/graphics/paint/. (Closed)
Patch Set: Resync 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/paint/ScopedPaintChunkProperties.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ScopedPaintChunkProperties.h b/third_party/WebKit/Source/platform/graphics/paint/ScopedPaintChunkProperties.h
index fdda27da2402e0620ac1e972fd49295c21ba55cc..4b5a5c7e623544ba6c931ad52e67af875b012091 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ScopedPaintChunkProperties.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/ScopedPaintChunkProperties.h
@@ -29,7 +29,8 @@ class ScopedPaintChunkProperties {
m_paintController.updateCurrentPaintChunkProperties(&id, properties);
}
- // Omits the type parameter, in case that the client creates only one PaintChunkProperties node during each painting.
+ // Omits the type parameter, in case that the client creates only one
+ // PaintChunkProperties node during each painting.
ScopedPaintChunkProperties(PaintController& paintController,
const DisplayItemClient& client,
const PaintChunkProperties& properties)
@@ -39,11 +40,12 @@ class ScopedPaintChunkProperties {
properties) {}
~ScopedPaintChunkProperties() {
- // We should not return to the previous id, because that may cause a new chunk to use
- // the same id as that of the previous chunk before this ScopedPaintChunkProperties.
- // The painter should create another scope of paint properties with new id, or the
- // new chunk will have no id and will not match any old chunk and will be treated as
- // fully invalidated for rasterization.
+ // We should not return to the previous id, because that may cause a new
+ // chunk to use the same id as that of the previous chunk before this
+ // ScopedPaintChunkProperties. The painter should create another scope of
+ // paint properties with new id, or the new chunk will have no id and will
+ // not match any old chunk and will be treated as fully invalidated for
+ // rasterization.
m_paintController.updateCurrentPaintChunkProperties(nullptr,
m_previousProperties);
}

Powered by Google App Engine
This is Rietveld 408576698