| Index: content/common/font_list_win.cc
|
| diff --git a/content/common/font_list_win.cc b/content/common/font_list_win.cc
|
| index bc6c1dcd1ed296bc5f336dce9b4c7b9f8d17121b..fc34ea18a1dfd860281d75cef24400f0ecca916b 100644
|
| --- a/content/common/font_list_win.cc
|
| +++ b/content/common/font_list_win.cc
|
| @@ -36,10 +36,10 @@ scoped_ptr<base::ListValue> GetFontList_SlowBlocking() {
|
| memset(&logfont, 0, sizeof(logfont));
|
| logfont.lfCharSet = DEFAULT_CHARSET;
|
|
|
| - HDC hdc = ::GetDC(NULL);
|
| + HDC hdc = ::GetDC(nullptr);
|
| ::EnumFontFamiliesExW(hdc, &logfont, (FONTENUMPROCW)&EnumFontFamExProc,
|
| (LPARAM)&font_names, 0);
|
| - ::ReleaseDC(NULL, hdc);
|
| + ::ReleaseDC(nullptr, hdc);
|
|
|
| scoped_ptr<base::ListValue> font_list(new base::ListValue);
|
| std::set<base::string16>::iterator iter;
|
|
|