Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1795)

Unified Diff: Source/modules/presentation/NavigatorPresentation.cpp

Issue 879423003: Move Location to DOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/presentation/NavigatorPresentation.cpp
diff --git a/Source/modules/presentation/NavigatorPresentation.cpp b/Source/modules/presentation/NavigatorPresentation.cpp
index a59b55d294fcedf754f840167a87a703870c8b6b..29eb96e173bce492f8d6212776728eee69d83bdb 100644
--- a/Source/modules/presentation/NavigatorPresentation.cpp
+++ b/Source/modules/presentation/NavigatorPresentation.cpp
@@ -42,7 +42,7 @@ Presentation* NavigatorPresentation::presentation(Navigator& navigator)
if (!self.m_presentation) {
if (!navigator.frame())
return nullptr;
- self.m_presentation = Presentation::create(navigator.frame());
+ self.m_presentation = Presentation::create(navigator.localFrame());
}
return self.m_presentation.get();
}

Powered by Google App Engine
This is Rietveld 408576698