Index: Source/web/WebRange.cpp |
diff --git a/Source/web/WebRange.cpp b/Source/web/WebRange.cpp |
index 5684b2665ad850d9cbbfd0dab6450ed94f520189..67d4b24926eb0c09bb99b3bc7fe0702bb6712ead 100644 |
--- a/Source/web/WebRange.cpp |
+++ b/Source/web/WebRange.cpp |
@@ -127,7 +127,7 @@ WebVector<WebFloatQuad> WebRange::textQuads() const |
if (isNull()) |
return WebVector<WebFloatQuad>(); |
- Frame* frame = m_private->ownerDocument() ? m_private->ownerDocument()->frame() : 0; |
+ Frame* frame = m_private->ownerDocument().frame(); |
if (!frame) |
return WebVector<WebFloatQuad>(); |