| Index: chrome/browser/ui/webui/devtools_ui.cc
|
| diff --git a/chrome/browser/ui/webui/devtools_ui.cc b/chrome/browser/ui/webui/devtools_ui.cc
|
| index 94945c1d14443b780022639d4d28d7a60b56ee67..85db059bba65c827b217bc10374c96f4e71ded1f 100644
|
| --- a/chrome/browser/ui/webui/devtools_ui.cc
|
| +++ b/chrome/browser/ui/webui/devtools_ui.cc
|
| @@ -234,9 +234,10 @@ void DevToolsDataSource::StartBundledDataRequest(
|
| int resource_id =
|
| content::DevToolsHttpHandler::GetFrontendResourceId(filename);
|
|
|
| - DLOG_IF(WARNING, -1 == resource_id) << "Unable to find dev tool resource: "
|
| - << filename << ". If you compiled with debug_devtools=1, try running"
|
| - " with --debug-devtools.";
|
| + DLOG_IF(WARNING, resource_id == -1)
|
| + << "Unable to find dev tool resource: " << filename
|
| + << ". If you compiled with debug_devtools=1, try running with "
|
| + "--debug-devtools.";
|
| const ResourceBundle& rb = ResourceBundle::GetSharedInstance();
|
| scoped_refptr<base::RefCountedStaticMemory> bytes(rb.LoadDataResourceBytes(
|
| resource_id));
|
|
|