Index: Source/core/css/CSSDefaultStyleSheets.cpp |
diff --git a/Source/core/css/CSSDefaultStyleSheets.cpp b/Source/core/css/CSSDefaultStyleSheets.cpp |
index 53f400575818cb34fec3cb8876b16df1144b3516..35099aba19fc312f28159ce1e48d8e444126b7a1 100644 |
--- a/Source/core/css/CSSDefaultStyleSheets.cpp |
+++ b/Source/core/css/CSSDefaultStyleSheets.cpp |
@@ -160,7 +160,7 @@ void CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement(Element* element, |
// FIXME: This only works because we Force recalc the entire document so the new sheet |
// is loaded for <html> and the correct styles apply to everyone. |
- if (!m_fullscreenStyleSheet && FullscreenElementStack::isFullScreen(&element->document())) { |
+ if (!m_fullscreenStyleSheet && FullscreenElementStack::isFullScreen(element->document())) { |
String fullscreenRules = String(fullscreenUserAgentStyleSheet, sizeof(fullscreenUserAgentStyleSheet)) + RenderTheme::theme().extraFullScreenStyleSheet(); |
m_fullscreenStyleSheet = parseUASheet(fullscreenRules); |
m_defaultStyle->addRulesFromSheet(fullscreenStyleSheet(), screenEval()); |