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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.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/style/ComputedStyle.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
index cb60c3e0e53f0a8cfdb0de73da3c5d7cc0e1f06d..6491f112c36357dd096b11475eb6f22f040ee7a9 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -559,7 +559,7 @@ StyleDifference ComputedStyle::visualInvalidationDiff(
diff.setNeedsFullLayout();
}
- if (!diff.needsFullLayout() && position() != StaticPosition &&
+ if (!diff.needsFullLayout() && position() != EPosition::kStatic &&
m_surround->offset != other.m_surround->offset) {
// Optimize for the case where a positioned layer is moving but not changing
// size.
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | third_party/WebKit/Source/core/style/ComputedStyleConstants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698