| Index: third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| index 62bc9c87459e6e449bcdef656b3aefe92adfbe1b..1793093c8983b98efac37ef632db1c41e6f5797c 100644
|
| --- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| @@ -28,6 +28,7 @@
|
| #include "core/dom/StyleEngine.h"
|
|
|
| #include "core/HTMLNames.h"
|
| +#include "core/css/CSSDefaultStyleSheets.h"
|
| #include "core/css/CSSFontSelector.h"
|
| #include "core/css/CSSStyleSheet.h"
|
| #include "core/css/FontFaceCache.h"
|
| @@ -755,6 +756,15 @@ void StyleEngine::setHttpDefaultStyle(const String& content)
|
| resolverChanged(FullStyleUpdate);
|
| }
|
|
|
| +void StyleEngine::ensureFullscreenUAStyle()
|
| +{
|
| + CSSDefaultStyleSheets::instance().ensureDefaultStyleSheetForFullscreen();
|
| + if (!m_resolver)
|
| + return;
|
| + if (!m_resolver->hasFullscreenUAStyle())
|
| + m_resolver->resetRuleFeatures();
|
| +}
|
| +
|
| DEFINE_TRACE(StyleEngine)
|
| {
|
| #if ENABLE(OILPAN)
|
|
|