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

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

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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/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 374539a86be564bc1c891072b4d8ca89cb9bfbbc..461c44c2326e91a43fb43065dec97e2442cae6bc 100644
--- a/third_party/WebKit/Source/core/paint/FramePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp
@@ -49,12 +49,12 @@ void FramePainter::paint(GraphicsContext& context, const GlobalPaintFlags global
TransformPaintPropertyNode* transform = m_frameView->scrollTranslation() ? m_frameView->scrollTranslation() : m_frameView->preTranslation();
ClipPaintPropertyNode* clip = m_frameView->contentClip();
if (transform || clip) {
- PaintChunkProperties properties(context.paintController().currentPaintChunkProperties());
+ PaintChunkProperties properties(context.getPaintController().currentPaintChunkProperties());
if (transform)
properties.transform = transform;
if (clip)
properties.clip = clip;
- scopedPaintChunkProperties.emplace(context.paintController(), properties);
+ scopedPaintChunkProperties.emplace(context.getPaintController(), properties);
}
}
@@ -76,9 +76,9 @@ void FramePainter::paint(GraphicsContext& context, const GlobalPaintFlags global
Optional<ScopedPaintChunkProperties> scopedPaintChunkProperties;
if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
if (TransformPaintPropertyNode* transform = m_frameView->preTranslation()) {
- PaintChunkProperties properties(context.paintController().currentPaintChunkProperties());
+ PaintChunkProperties properties(context.getPaintController().currentPaintChunkProperties());
properties.transform = transform;
- scopedPaintChunkProperties.emplace(context.paintController(), properties);
+ scopedPaintChunkProperties.emplace(context.getPaintController(), properties);
}
}

Powered by Google App Engine
This is Rietveld 408576698