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

Unified Diff: content/common/font_list_pango.cc

Issue 649533003: C++11 declares a type safe null pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Presubmit errors 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
« no previous file with comments | « content/common/font_config_ipc_linux.cc ('k') | content/common/font_list_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/font_list_pango.cc
diff --git a/content/common/font_list_pango.cc b/content/common/font_list_pango.cc
index 7a67b3cb67bf1e294922518b94ed45c2af9c00f5..366f620476403116d9047d5fe971d4340501761f 100644
--- a/content/common/font_list_pango.cc
+++ b/content/common/font_list_pango.cc
@@ -18,7 +18,7 @@ scoped_ptr<base::ListValue> GetFontList_SlowBlocking() {
scoped_ptr<base::ListValue> font_list(new base::ListValue);
PangoFontMap* font_map = ::pango_cairo_font_map_get_default();
- PangoFontFamily** families = NULL;
+ PangoFontFamily** families = nullptr;
int num_families = 0;
::pango_font_map_list_families(font_map, &families, &num_families);
« no previous file with comments | « content/common/font_config_ipc_linux.cc ('k') | content/common/font_list_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698