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

Unified Diff: chrome/browser/media_galleries/media_file_system_registry.cc

Issue 2841833002: Renamed LoadCommittedDetails.is_in_page to is_same_document. (Closed)
Patch Set: I said "once and for all" Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/supervised_user/supervised_user_interstitial.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_galleries/media_file_system_registry.cc
diff --git a/chrome/browser/media_galleries/media_file_system_registry.cc b/chrome/browser/media_galleries/media_file_system_registry.cc
index 5fa4aab64c8331db06686c5d77241fff21c6fa5f..b989c6f5c022013e2c830bcc06a495b3e5ece0f3 100644
--- a/chrome/browser/media_galleries/media_file_system_registry.cc
+++ b/chrome/browser/media_galleries/media_file_system_registry.cc
@@ -184,7 +184,7 @@ void RPHReferenceManager::RPHWebContentsObserver::WebContentsDestroyed() {
void RPHReferenceManager::RPHWebContentsObserver::NavigationEntryCommitted(
const content::LoadCommittedDetails& load_details) {
- if (load_details.is_in_page)
+ if (load_details.is_same_document)
return;
manager_->OnWebContentsDestroyedOrNavigated(web_contents());
« no previous file with comments | « no previous file | chrome/browser/supervised_user/supervised_user_interstitial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698