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

Unified Diff: content/browser/accessibility/accessibility_ui.cc

Issue 642313003: [C++11 Allowed Features] Declares a type-safe null pointer converting from NULL to nullptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Including id in the AUTHORS file. Created 6 years, 2 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: content/browser/accessibility/accessibility_ui.cc
diff --git a/content/browser/accessibility/accessibility_ui.cc b/content/browser/accessibility/accessibility_ui.cc
index a8a5d97ad3ef62bb594ccc8cc7ea395fcb373f80..e80edfcbe3566e8518349bcc23096021b2c3d6a2 100644
--- a/content/browser/accessibility/accessibility_ui.cc
+++ b/content/browser/accessibility/accessibility_ui.cc
@@ -78,7 +78,7 @@ base::DictionaryValue* BuildTargetDescriptor(RenderViewHost* rvh) {
title = base::UTF16ToUTF8(web_contents->GetTitle());
NavigationController& controller = web_contents->GetController();
NavigationEntry* entry = controller.GetVisibleEntry();
- if (entry != NULL && entry->GetURL().is_valid())
+ if (entry != nullptr && entry->GetURL().is_valid())
favicon_url = entry->GetFavicon().url;
}

Powered by Google App Engine
This is Rietveld 408576698