Index: Source/core/html/HTMLVideoElement.cpp |
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp |
index d7415ad76192ad3360885ed51cf61259632932f2..1a1201478de0acf4d8d01c74018a112b2e39477a 100644 |
--- a/Source/core/html/HTMLVideoElement.cpp |
+++ b/Source/core/html/HTMLVideoElement.cpp |
@@ -120,8 +120,7 @@ void HTMLVideoElement::parseAttribute(const QualifiedName& name, const AtomicStr |
bool HTMLVideoElement::supportsFullscreen() const |
{ |
- Page* page = &document() ? document().page() : 0; |
- if (!page) |
+ if (!document().page()) |
return false; |
if (!player() || !player()->supportsFullscreen()) |