| 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 ca4f2d9cb02ddc82ed3e736ec4db04d57860b606..98b7e610e685a9a7e6df6765c71c92757bf65d1d 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);
|
| @@ -721,7 +721,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());
|
| }
|
|
|
|
|