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

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp

Issue 2378883003: Refactor PropertyTreeState to use RefPtrs (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/Source/core/paint/ObjectPaintProperties.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
index 4d0ea45848ddaa1dde180c322713c128e3d38d14..bdb9eb7150555f0669c6b1be4b342db83f29e2f1 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
@@ -416,13 +416,13 @@ private:
void writeFrameViewPaintPropertyNodes(const FrameView& frameView)
{
if (const auto* contentsState = frameView.totalPropertyTreeStateForContents()) {
- if (const auto* root = getRoot(contentsState->transform))
+ if (const auto* root = getRoot(contentsState->transform()))
writePaintPropertyNode(*root, &frameView, "rootTransform");
- if (const auto* root = getRoot(contentsState->clip))
+ if (const auto* root = getRoot(contentsState->clip()))
writePaintPropertyNode(*root, &frameView, "rootClip");
- if (const auto* root = getRoot(contentsState->effect))
+ if (const auto* root = getRoot(contentsState->effect()))
writePaintPropertyNode(*root, &frameView, "rootEffect");
- if (const auto* root = getRoot(contentsState->scroll))
+ if (const auto* root = getRoot(contentsState->scroll()))
writePaintPropertyNode(*root, &frameView, "rootScroll");
}
TransformPaintPropertyNode* preTranslation = frameView.preTranslation();
« no previous file with comments | « third_party/WebKit/Source/core/paint/ObjectPaintProperties.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698