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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp

Issue 2670643004: Rename EDisplay values with k prefix. (Closed)
Patch Set: Rebase Created 3 years, 9 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 4353a4a7342d9d707bd18e6eb0821b2a7e2894b2..ac4174a99979dee637be416d28c072496aeea7dd 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
@@ -561,7 +561,7 @@ PassRefPtr<ComputedStyle> StyleResolver::styleForDocument(Document& document) {
// These are designed to match the user-agent stylesheet values for the
// document element so that the common case doesn't need to create a new
// ComputedStyle in Document::inheritHtmlAndBodyElementStyles.
- documentStyle->setDisplay(EDisplay::Block);
+ documentStyle->setDisplay(EDisplay::kBlock);
documentStyle->setPosition(EPosition::kAbsolute);
// Document::inheritHtmlAndBodyElementStyles will set the final overflow
@@ -636,7 +636,7 @@ PassRefPtr<ComputedStyle> StyleResolver::styleForElement(
!element->layoutObject()) {
if (!s_styleNotYetAvailable) {
s_styleNotYetAvailable = ComputedStyle::create().leakRef();
- s_styleNotYetAvailable->setDisplay(EDisplay::None);
+ s_styleNotYetAvailable->setDisplay(EDisplay::kNone);
s_styleNotYetAvailable->font().update(
document().styleEngine().fontSelector());
}

Powered by Google App Engine
This is Rietveld 408576698