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

Unified Diff: third_party/WebKit/Source/core/paint/FramePainter.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 | « no previous file | third_party/WebKit/Source/core/paint/ObjectPaintProperties.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/FramePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FramePainter.cpp b/third_party/WebKit/Source/core/paint/FramePainter.cpp
index 01754c915322d82024509f588d713e85cee47855..a73f683d924a6761ae4f642a24b90de1bf9d754e 100644
--- a/third_party/WebKit/Source/core/paint/FramePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp
@@ -48,10 +48,10 @@ void FramePainter::paint(GraphicsContext& context, const GlobalPaintFlags global
if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
if (const PropertyTreeState* contentsState = m_frameView->totalPropertyTreeStateForContents()) {
PaintChunkProperties properties(context.getPaintController().currentPaintChunkProperties());
- properties.transform = contentsState->transform;
- properties.clip = contentsState->clip;
- properties.effect = contentsState->effect;
- properties.scroll = contentsState->scroll;
+ properties.transform = contentsState->transform();
+ properties.clip = contentsState->clip();
+ properties.effect = contentsState->effect();
+ properties.scroll = contentsState->scroll();
scopedPaintChunkProperties.emplace(context.getPaintController(), *frameView().layoutView(), properties);
}
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/ObjectPaintProperties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698