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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.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/layout/compositing/CompositedLayerMapping.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
index bbb796bbf62ceb6d446efd5f383b2140497f3b0c..cb2b7ed3227dc3d06d6377d2d01149bba06a465f 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -289,7 +289,7 @@ void CompositedLayerMapping::updateBackdropFilters(const ComputedStyle& style) {
void CompositedLayerMapping::updateStickyConstraints(
const ComputedStyle& style) {
- bool sticky = style.position() == EPosition::StickyPosition;
+ bool sticky = style.position() == EPosition::kSticky;
const PaintLayer* ancestorOverflowLayer =
m_owningLayer.ancestorOverflowLayer();
// TODO(flackr): Do we still need this?

Powered by Google App Engine
This is Rietveld 408576698