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

Unified Diff: chrome/browser/ssl/common_name_mismatch_handler.cc

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/ssl/common_name_mismatch_handler.cc
diff --git a/chrome/browser/ssl/common_name_mismatch_handler.cc b/chrome/browser/ssl/common_name_mismatch_handler.cc
index 691bb0e2fb12fdca5786d3f1fbccd333ac349b7d..6519a13201fa090c77f31ce9bef9b95d1858fa2f 100644
--- a/chrome/browser/ssl/common_name_mismatch_handler.cc
+++ b/chrome/browser/ssl/common_name_mismatch_handler.cc
@@ -99,5 +99,5 @@ void CommonNameMismatchHandler::OnURLFetchComplete(
}
bool CommonNameMismatchHandler::IsCheckingSuggestedUrl() const {
- return url_fetcher_;
+ return !!url_fetcher_;
}

Powered by Google App Engine
This is Rietveld 408576698