Index: Source/core/html/HTMLVideoElement.cpp |
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp |
index a5590d2d2b147182594b29a148bce9f0c4724d20..8e6cd853a06b79276fe89e45ae16c31f93fe3505 100644 |
--- a/Source/core/html/HTMLVideoElement.cpp |
+++ b/Source/core/html/HTMLVideoElement.cpp |
@@ -120,7 +120,7 @@ void HTMLVideoElement::parseAttribute(const QualifiedName& name, const AtomicStr |
bool HTMLVideoElement::supportsFullscreen() const |
{ |
- Page* page = document() ? document()->page() : 0; |
+ Page* page = &document() ? document().page() : 0; |
if (!page) |
return false; |
@@ -279,7 +279,7 @@ KURL HTMLVideoElement::posterImageURL() const |
String url = stripLeadingAndTrailingHTMLSpaces(imageSourceURL()); |
if (url.isEmpty()) |
return KURL(); |
- return document()->completeURL(url); |
+ return document().completeURL(url); |
} |
} |