summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/resource_bundle_source_map.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/resource_bundle_source_map.cc')
-rw-r--r--chrome/renderer/resource_bundle_source_map.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/renderer/resource_bundle_source_map.cc b/chrome/renderer/resource_bundle_source_map.cc
index 86ee68d..5a42582 100644
--- a/chrome/renderer/resource_bundle_source_map.cc
+++ b/chrome/renderer/resource_bundle_source_map.cc
@@ -4,7 +4,6 @@
#include "chrome/renderer/resource_bundle_source_map.h"
-#include "ui/base/layout.h"
#include "ui/base/resource/resource_bundle.h"
ResourceBundleSourceMap::ResourceBundleSourceMap(
@@ -25,8 +24,7 @@ v8::Handle<v8::Value> ResourceBundleSourceMap::GetSource(
if (!Contains(name))
return v8::Undefined();
int resource_id = resource_id_map_[name];
- return ConvertString(resource_bundle_->GetRawDataResource(
- resource_id, ui::SCALE_FACTOR_NONE));
+ return ConvertString(resource_bundle_->GetRawDataResource(resource_id));
}
bool ResourceBundleSourceMap::Contains(const std::string& name) {