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 8905d091bce27a3401b0b2131877252b7d7fa1b5..8d09ab44d191fbc662a38986a953c44b111a63a4 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
@@ -689,7 +689,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(BLOCK); |
+ documentStyle->setDisplay(EDisplay::Block); |
documentStyle->setPosition(AbsolutePosition); |
document.setupFontBuilder(*documentStyle); |
@@ -720,7 +720,7 @@ PassRefPtr<ComputedStyle> StyleResolver::styleForElement(Element* element, const |
if (sharingBehavior == AllowStyleSharing && !document().isRenderingReady() && !element->layoutObject()) { |
if (!s_styleNotYetAvailable) { |
s_styleNotYetAvailable = ComputedStyle::create().leakRef(); |
- s_styleNotYetAvailable->setDisplay(NONE); |
+ s_styleNotYetAvailable->setDisplay(EDisplay::None); |
s_styleNotYetAvailable->font().update(document().styleEngine().fontSelector()); |
} |