| Index: chrome/renderer/resource_bundle_source_map.cc
|
| diff --git a/chrome/renderer/resource_bundle_source_map.cc b/chrome/renderer/resource_bundle_source_map.cc
|
| index 5a4258204790d8485bd0183389115c36f4ed6f30..15bc85e6856e070949d596c304b50a0b546cd131 100644
|
| --- a/chrome/renderer/resource_bundle_source_map.cc
|
| +++ b/chrome/renderer/resource_bundle_source_map.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/renderer/resource_bundle_source_map.h"
|
|
|
| #include "ui/base/resource/resource_bundle.h"
|
| +#include "ui/base/resource/resource_handle.h"
|
|
|
| ResourceBundleSourceMap::ResourceBundleSourceMap(
|
| const ui::ResourceBundle* resource_bundle)
|
| @@ -24,7 +25,8 @@ 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));
|
| + return ConvertString(resource_bundle_->GetRawDataResource(
|
| + resource_id, ui::ResourceHandle::kScaleFactorNone));
|
| }
|
|
|
| bool ResourceBundleSourceMap::Contains(const std::string& name) {
|
|
|