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

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

Issue 2667493002: Changed EPosition to an enum class and renamed its members (Closed)
Patch Set: Rebase Created 3 years, 10 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/PrePaintTreeWalk.cpp
diff --git a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
index b2eb801927b03127b62f45e9f9560cb2f3cd1617..969a6c3c16ed46a72aaae0e5d1aa7fc8f655a069 100644
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
@@ -82,7 +82,7 @@ static void updateAuxiliaryObjectProperties(const LayoutObject& object,
PaintLayer* paintLayer = object.enclosingLayer();
paintLayer->updateAncestorOverflowLayer(context.ancestorOverflowPaintLayer);
- if (object.styleRef().position() == StickyPosition) {
+ if (object.styleRef().position() == EPosition::kSticky) {
paintLayer->layoutObject()->updateStickyPositionConstraints();
// Sticky position constraints and ancestor overflow scroller affect the

Powered by Google App Engine
This is Rietveld 408576698