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 3b159d142de117fa9ee11c42c45e8704c65ac55c..4bc5af889c1ca295f5ffe9e434a9a4d98072ecf7 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()) { |