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

Unified Diff: chrome/browser/ui/webui/options/website_settings_handler.cc

Issue 505913002: Remove implicit conversions from scoped_refptr to T* in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add {} 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
Index: chrome/browser/ui/webui/options/website_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/website_settings_handler.cc b/chrome/browser/ui/webui/options/website_settings_handler.cc
index 8999398729c5b6544fce9b9304da7b763dc23797..517fd27abd6c4b3fe9694eeec25182c0fd5bd02c 100644
--- a/chrome/browser/ui/webui/options/website_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/website_settings_handler.cc
@@ -154,7 +154,7 @@ void WebsiteSettingsHandler::HandleUpdateSearchResults(
void WebsiteSettingsHandler::HandleUpdateLocalStorage(
const base::ListValue* args) {
- if (!local_storage_) {
+ if (!local_storage_.get()) {
Profile* profile = Profile::FromWebUI(web_ui());
local_storage_ = new BrowsingDataLocalStorageHelper(profile);
}

Powered by Google App Engine
This is Rietveld 408576698