Index: Source/core/frame/Location.cpp |
diff --git a/Source/core/frame/Location.cpp b/Source/core/frame/Location.cpp |
index 521b912c5bcff708e4aff01c6178c3ba63493dd2..0b7854c89f2dd33c9d757cffbd70613f4b18709c 100644 |
--- a/Source/core/frame/Location.cpp |
+++ b/Source/core/frame/Location.cpp |
@@ -121,7 +121,7 @@ PassRefPtr<DOMStringList> Location::ancestorOrigins() const |
RefPtr<DOMStringList> origins = DOMStringList::create(); |
if (!m_frame) |
return origins.release(); |
- for (Frame* frame = m_frame->tree()->parent(); frame; frame = frame->tree()->parent()) |
+ for (Frame* frame = m_frame->tree().parent(); frame; frame = frame->tree().parent()) |
origins->append(frame->document()->securityOrigin()->toString()); |
return origins.release(); |
} |