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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.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/page/scrolling/ScrollingCoordinator.cpp
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
index 96fea433050e14bdac5c888154a5b51b73ed393b..181bc55e03ec690d1cd5953790686a43fc8e1a5f 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
@@ -284,7 +284,7 @@ static WebLayerPositionConstraint computePositionConstraint(
const PaintLayer* layer) {
DCHECK(layer->hasCompositedLayerMapping());
do {
- if (layer->layoutObject()->style()->position() == FixedPosition) {
+ if (layer->layoutObject()->style()->position() == EPosition::kFixed) {
const LayoutObject* fixedPositionObject = layer->layoutObject();
bool fixedToRight = !fixedPositionObject->style()->right().isAuto();
bool fixedToBottom = !fixedPositionObject->style()->bottom().isAuto();

Powered by Google App Engine
This is Rietveld 408576698