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

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

Issue 2430813002: Switch to shorter names for property tree storage and updates (Closed)
Patch Set: 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/core/paint/PaintLayerPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
index 651e258c74398dd16bf5896c45170cdd859d26d5..aadab753778f42c2baff9892774d049ea66e2da3 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
@@ -420,8 +420,8 @@ PaintLayerPainter::PaintResult PaintLayerPainter::paintLayerContents(
Optional<ScopedPaintChunkProperties> scopedPaintChunkProperties;
if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
- const ObjectPaintProperties* objectPaintProperties =
- m_paintLayer.layoutObject()->objectPaintProperties();
+ const auto* objectPaintProperties =
+ m_paintLayer.layoutObject()->paintProperties();
ASSERT(objectPaintProperties &&
objectPaintProperties->localBorderBoxProperties());
PaintChunkProperties properties(
@@ -866,8 +866,8 @@ void PaintLayerPainter::paintFragmentWithPhase(
Optional<ScrollRecorder> scrollRecorder;
LayoutPoint paintOffset = -m_paintLayer.layoutBoxLocation();
if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
- const ObjectPaintProperties* objectPaintProperties =
- m_paintLayer.layoutObject()->objectPaintProperties();
+ const auto* objectPaintProperties =
+ m_paintLayer.layoutObject()->paintProperties();
ASSERT(objectPaintProperties &&
objectPaintProperties->localBorderBoxProperties());
paintOffset +=

Powered by Google App Engine
This is Rietveld 408576698