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

Unified Diff: extensions/browser/extension_web_contents_observer.cc

Issue 2716493004: Renamed NavigationHandle::IsSamePage to NavigationHandle::IsSameDocument (Closed)
Patch Set: Rebased Created 3 years, 9 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: extensions/browser/extension_web_contents_observer.cc
diff --git a/extensions/browser/extension_web_contents_observer.cc b/extensions/browser/extension_web_contents_observer.cc
index fa3c92537fdea499a4838fab9a7e728b45958b28..b3d8b4e8d71080bc865551c17d67cb5d1ebcf57b 100644
--- a/extensions/browser/extension_web_contents_observer.cc
+++ b/extensions/browser/extension_web_contents_observer.cc
@@ -147,7 +147,7 @@ void ExtensionWebContentsObserver::DidFinishNavigation(
const Extension* frame_extension =
GetExtensionFromFrame(render_frame_host, true);
if (pm->IsRenderFrameHostRegistered(render_frame_host)) {
- if (frame_extension && !navigation_handle->IsSamePage()) {
+ if (frame_extension && !navigation_handle->IsSameDocument()) {
// Notify ProcessManager, because some clients do not just want to know
// whether the frame is in an extension process, but also whether the
// frame was navigated.

Powered by Google App Engine
This is Rietveld 408576698