| 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 73a048414e3fce350df7649fde7671a232ec9927..7f9662ccc27e54bcf396b1b622f36dcc9d9d2941 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -330,8 +330,10 @@ void StyleResolver::collectFeatures()
|
| // in the current set of stylesheets. Style sharing code uses this information to reject
|
| // sharing candidates.
|
| CSSDefaultStyleSheets& defaultStyleSheets = CSSDefaultStyleSheets::instance();
|
| - if (defaultStyleSheets.defaultStyle())
|
| + if (defaultStyleSheets.defaultStyle()) {
|
| m_features.add(defaultStyleSheets.defaultStyle()->features());
|
| + m_hasFullscreenUAStyle = defaultStyleSheets.fullscreenStyleSheet();
|
| + }
|
|
|
| if (document().isViewSource())
|
| m_features.add(defaultStyleSheets.defaultViewSourceStyle()->features());
|
|
|