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

Unified Diff: ui/base/resource/resource_handle.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: ui/base/resource/resource_handle.cc
diff --git a/ui/base/resource/resource_handle.cc b/ui/base/resource/resource_handle.cc
index 947ff80499dbeea1352f985cd31b5c775631e97d..52003edc6e31cc85f3c09bf5b9b6d8d11df6a0a8 100644
--- a/ui/base/resource/resource_handle.cc
+++ b/ui/base/resource/resource_handle.cc
@@ -8,5 +8,6 @@ namespace ui {
const float ResourceHandle::kScaleFactor100x = 1.0;
const float ResourceHandle::kScaleFactor200x = 2.0;
+const float ResourceHandle::kScaleFactorNone = 1.0;
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698