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

Unified Diff: chrome/browser/background/background_mode_manager.cc

Issue 510453002: Remove implicit conversions from scoped_refptr to T* in chrome/browser/background/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/background/background_mode_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/background/background_mode_manager.cc
diff --git a/chrome/browser/background/background_mode_manager.cc b/chrome/browser/background/background_mode_manager.cc
index 9ebdaea89234cc658ad281aa8d65b7c7c660b6e7..1645502cd01592d15567a9738bd5b0cf70881bbd 100644
--- a/chrome/browser/background/background_mode_manager.cc
+++ b/chrome/browser/background/background_mode_manager.cc
@@ -137,7 +137,8 @@ void BackgroundModeManager::BackgroundModeData::BuildProfileMenu(
// The compromise is to disable the item, avoiding the non-actionable
// navigate to the extensions page and preserving the user model.
if ((*cursor)->location() == extensions::Manifest::COMPONENT) {
- GURL options_page = extensions::ManifestURL::GetOptionsPage(*cursor);
+ GURL options_page =
+ extensions::ManifestURL::GetOptionsPage(cursor->get());
if (!options_page.is_valid())
menu->SetCommandIdEnabled(command_id, false);
}
« no previous file with comments | « no previous file | chrome/browser/background/background_mode_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698