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

Unified Diff: chrome/browser/ui/webui/options/import_data_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/import_data_handler.cc
diff --git a/chrome/browser/ui/webui/options/import_data_handler.cc b/chrome/browser/ui/webui/options/import_data_handler.cc
index 5b38dc0e16c4257c437fae1b6ce200e47b693c54..56eef30a5dfba4d20e3632940d154d98fb04a034 100644
--- a/chrome/browser/ui/webui/options/import_data_handler.cc
+++ b/chrome/browser/ui/webui/options/import_data_handler.cc
@@ -45,7 +45,7 @@ ImportDataHandler::~ImportDataHandler() {
if (importer_host_)
importer_host_->set_observer(NULL);
- if (select_file_dialog_)
+ if (select_file_dialog_.get())
select_file_dialog_->ListenerDestroyed();
}

Powered by Google App Engine
This is Rietveld 408576698