| Index: chrome/browser/ui/webui/options2/options_ui2.cc
|
| diff --git a/chrome/browser/ui/webui/options2/options_ui2.cc b/chrome/browser/ui/webui/options2/options_ui2.cc
|
| index 63f9c1ad358e9fd8fd644aa18fd57a97ce8a7ea5..4e1522de58f57ec556c8b8835ce753699d7d8a7f 100644
|
| --- a/chrome/browser/ui/webui/options2/options_ui2.cc
|
| +++ b/chrome/browser/ui/webui/options2/options_ui2.cc
|
| @@ -57,6 +57,7 @@
|
| #include "grit/theme_resources.h"
|
| #include "grit/theme_resources_standard.h"
|
| #include "net/base/escape.h"
|
| +#include "ui/base/layout.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
|
|
| #if defined(OS_CHROMEOS)
|
| @@ -148,11 +149,11 @@ void OptionsUIHTMLSource::StartDataRequest(const std::string& path,
|
| } else if (path == kOptionsBundleJsFile) {
|
| // Return (and cache) the options javascript code.
|
| response_bytes = ResourceBundle::GetSharedInstance().LoadDataResourceBytes(
|
| - IDR_OPTIONS2_BUNDLE_JS);
|
| + IDR_OPTIONS2_BUNDLE_JS, ui::kScaleFactorNone);
|
| } else {
|
| // Return (and cache) the main options html page as the default.
|
| response_bytes = ResourceBundle::GetSharedInstance().LoadDataResourceBytes(
|
| - IDR_OPTIONS2_HTML);
|
| + IDR_OPTIONS2_HTML, ui::kScaleFactorNone);
|
| }
|
|
|
| SendResponse(request_id, response_bytes);
|
| @@ -354,7 +355,8 @@ void OptionsUI::ProcessAutocompleteSuggestions(
|
| // static
|
| base::RefCountedMemory* OptionsUI::GetFaviconResourceBytes() {
|
| return ResourceBundle::GetSharedInstance().
|
| - LoadDataResourceBytes(IDR_SETTINGS_FAVICON);
|
| + LoadDataResourceBytes(IDR_SETTINGS_FAVICON,
|
| + ui::SCALE_FACTOR_100P);
|
| }
|
|
|
| void OptionsUI::InitializeHandlers() {
|
|
|