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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.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/css/resolver/StyleResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
index 7f8600750a4b8fabf4ae6ca25b0db0b993844ed3..0169ed7b1e440182ac657d77ca25080684783982 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
@@ -562,7 +562,7 @@ PassRefPtr<ComputedStyle> StyleResolver::styleForDocument(Document& document) {
// document element so that the common case doesn't need to create a new
// ComputedStyle in Document::inheritHtmlAndBodyElementStyles.
documentStyle->setDisplay(EDisplay::Block);
- documentStyle->setPosition(AbsolutePosition);
+ documentStyle->setPosition(EPosition::kAbsolute);
// Document::inheritHtmlAndBodyElementStyles will set the final overflow
// style values, but they should initially be auto to avoid premature
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698