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

Unified Diff: extensions/renderer/extension_helper.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/renderer/extension_helper.cc
diff --git a/extensions/renderer/extension_helper.cc b/extensions/renderer/extension_helper.cc
index e9da0f58ea5c8ee461d90fb034212e87a2c72220..94a7532694b4b5e5302198b91fa029093cefd1b0 100644
--- a/extensions/renderer/extension_helper.cc
+++ b/extensions/renderer/extension_helper.cc
@@ -110,7 +110,7 @@ content::RenderView* ExtensionHelper::GetBackgroundPage(
content::RenderView::ForEach(&accumulator);
CHECK_LE(accumulator.views().size(), 1u);
if (accumulator.views().size() == 0)
- return NULL;
+ return nullptr;
return accumulator.views()[0];
}

Powered by Google App Engine
This is Rietveld 408576698