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

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

Issue 2173363002: Improve code readibility of PaintPropertyTreeBuilder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove extra "const" (might be a typo) Created 4 years, 5 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/PaintChunkProperties.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.h b/third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.h
index 57e65d2143bdb30fe3192a03540b603a0fd9b526..a6427036a5eb3867cfaa575cc48a0595a75f8ce1 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.h
@@ -29,9 +29,9 @@ struct PaintChunkProperties {
PaintChunkProperties() : backfaceHidden(false) { }
// TODO(pdr): Add scroll properties.
- RefPtr<TransformPaintPropertyNode> transform;
- RefPtr<ClipPaintPropertyNode> clip;
- RefPtr<EffectPaintPropertyNode> effect;
+ RefPtr<const TransformPaintPropertyNode> transform;
+ RefPtr<const ClipPaintPropertyNode> clip;
+ RefPtr<const EffectPaintPropertyNode> effect;
bool backfaceHidden;
};

Powered by Google App Engine
This is Rietveld 408576698