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

Unified Diff: extensions/browser/extension_host.cc

Issue 598173003: Run clang-modernize -use-nullptr over src/extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: extensions/browser/extension_host.cc
diff --git a/extensions/browser/extension_host.cc b/extensions/browser/extension_host.cc
index cd5970b3e323bd59ce83bb26138026888589a3e0..22db95b17f03628349f1c804a40b5c0275b248d1 100644
--- a/extensions/browser/extension_host.cc
+++ b/extensions/browser/extension_host.cc
@@ -119,7 +119,7 @@ ExtensionHost::ExtensionHost(const Extension* extension,
extension_(extension),
extension_id_(extension->id()),
browser_context_(site_instance->GetBrowserContext()),
- render_view_host_(NULL),
+ render_view_host_(nullptr),
did_stop_loading_(false),
document_element_available_(false),
initial_url_(url),
@@ -227,7 +227,7 @@ void ExtensionHost::Observe(int type,
// present.
if (extension_ == content::Details<UnloadedExtensionInfo>(details)->
extension) {
- extension_ = NULL;
+ extension_ = nullptr;
}
break;
default:

Powered by Google App Engine
This is Rietveld 408576698