Index: content/browser/frame_host/navigation_controller_impl.cc |
diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc |
index bc83135fb80526cd793af60c9797a551487fb1f1..4226b6ca936c5a701c86f9baf418b3f2aec92129 100644 |
--- a/content/browser/frame_host/navigation_controller_impl.cc |
+++ b/content/browser/frame_host/navigation_controller_impl.cc |
@@ -109,7 +109,7 @@ bool AreURLsInPageNavigation(const GURL& existing_url, |
const GURL& new_url, |
bool renderer_says_in_page, |
NavigationType navigation_type) { |
- if (existing_url == new_url) |
+ if (existing_url.GetOrigin() == new_url.GetOrigin()) |
return renderer_says_in_page; |
if (!new_url.has_ref()) { |