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

Unified Diff: chrome/browser/chromeos/offline/offline_load_page.cc

Issue 10387010: Select theme resources from ResourceBundle at requested scale factor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Convert ptr to bool for win compile. Created 8 years, 7 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/chromeos/offline/offline_load_page.cc
diff --git a/chrome/browser/chromeos/offline/offline_load_page.cc b/chrome/browser/chromeos/offline/offline_load_page.cc
index ac107dae4c27a6ec7e01f0d4a1f9b11686fb7ad6..f1526c2b08eb5858b6e71ba55de1830197ae54ae 100644
--- a/chrome/browser/chromeos/offline/offline_load_page.cc
+++ b/chrome/browser/chromeos/offline/offline_load_page.cc
@@ -34,6 +34,7 @@
#include "net/base/escape.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
+#include "ui/base/resource/resource_handle.h"
tony 2012/05/11 21:22:03 Double include? It looks like this is in most of
flackr 2012/05/11 21:59:07 They are resource_handle and resource_bundle, not
using content::BrowserThread;
using content::InterstitialPage;
@@ -112,7 +113,7 @@ std::string OfflineLoadPage::GetHTMLContents() {
base::StringPiece html(
ResourceBundle::GetSharedInstance().GetRawDataResource(
- IDR_OFFLINE_LOAD_HTML));
+ IDR_OFFLINE_LOAD_HTML, ui::ResourceHandle::kScaleFactorNone));
return jstemplate_builder::GetI18nTemplateHtml(html, &strings);
}

Powered by Google App Engine
This is Rietveld 408576698