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

Unified Diff: chrome/renderer/resource_bundle_source_map.cc

Issue 9653022: Revert 125811 - Convert app_bindings.js to the schema_generated_bindings.js infrastructure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | « chrome/renderer/renderer_resources.grd ('k') | chrome/renderer/resources/extensions/app.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resource_bundle_source_map.cc
===================================================================
--- chrome/renderer/resource_bundle_source_map.cc (revision 125812)
+++ chrome/renderer/resource_bundle_source_map.cc (working copy)
@@ -28,7 +28,7 @@
}
bool ResourceBundleSourceMap::Contains(const std::string& name) {
- return !!resource_id_map_.count(name);
+ return resource_id_map_.count(name) > 0;
}
v8::Handle<v8::String> ResourceBundleSourceMap::ConvertString(
« no previous file with comments | « chrome/renderer/renderer_resources.grd ('k') | chrome/renderer/resources/extensions/app.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698