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

Unified Diff: chrome/browser/ui/webui/devtools_ui.cc

Issue 637023002: Misc. cleanup, primarily removing unused locals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove macros.h change 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: 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));

Powered by Google App Engine
This is Rietveld 408576698