| Index: base/debug/gdi_debug_util_win.cc
|
| diff --git a/base/debug/gdi_debug_util_win.cc b/base/debug/gdi_debug_util_win.cc
|
| index 4bac759d8c78568e86e374deb6247dcd5fbc4508..ddd410613be328a8654b8a822187666a925aa4cf 100644
|
| --- a/base/debug/gdi_debug_util_win.cc
|
| +++ b/base/debug/gdi_debug_util_win.cc
|
| @@ -41,7 +41,7 @@ void CollectChildGDIUsageAndDie(DWORD parent_pid) {
|
| ::OpenProcess(PROCESS_QUERY_INFORMATION,
|
| FALSE,
|
| proc_entry.th32ParentProcessID));
|
| - if (!process)
|
| + if (!process.IsValid())
|
| continue;
|
|
|
| int num_gdi_handles = ::GetGuiResources(process.Get(), GR_GDIOBJECTS);
|
|
|