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

Unified Diff: extensions/browser/process_manager.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/process_manager.cc
diff --git a/extensions/browser/process_manager.cc b/extensions/browser/process_manager.cc
index 1b6a45a2e65584557d1e78121f1236c45def0028..575d855f3e3a79517fdd5ab9aaffca562cfa0764 100644
--- a/extensions/browser/process_manager.cc
+++ b/extensions/browser/process_manager.cc
@@ -338,7 +338,7 @@ ExtensionHost* ProcessManager::GetBackgroundHostForExtension(
if (host->extension_id() == extension_id)
return host;
}
- return NULL;
+ return nullptr;
}
std::set<RenderViewHost*> ProcessManager::GetRenderViewHostsForExtension(
@@ -363,7 +363,7 @@ std::set<RenderViewHost*> ProcessManager::GetRenderViewHostsForExtension(
const Extension* ProcessManager::GetExtensionForRenderViewHost(
RenderViewHost* render_view_host) {
if (!render_view_host->GetSiteInstance())
- return NULL;
+ return nullptr;
return extension_registry_->enabled_extensions().GetByID(
GetExtensionID(render_view_host));

Powered by Google App Engine
This is Rietveld 408576698