Index: ui/base/resource/resource_bundle.h |
diff --git a/ui/base/resource/resource_bundle.h b/ui/base/resource/resource_bundle.h |
index de547fcabd796477070566ed0118b47b1ec59576..3c4f3cbafa44ebc59813ce77f9f7fcdd6bbce667 100644 |
--- a/ui/base/resource/resource_bundle.h |
+++ b/ui/base/resource/resource_bundle.h |
@@ -310,9 +310,11 @@ class UI_EXPORT ResourceBundle { |
bool* fell_back_to_1x) const; |
// Fills the |bitmap| given the |resource_id| and |scale_factor|. |
- // Returns false if the resource does not exist. |
+ // Returns false if the resource does not exist. This may fall back to |
+ // the data pack with SCALE_FACTOR_NONE, and when this happens, |
+ // |scale_factor| will be set to SCALE_FACTOR_100P. |
bool LoadBitmap(int resource_id, |
- ScaleFactor scale_factor, |
+ ScaleFactor* scale_factor, |
SkBitmap* bitmap, |
bool* fell_back_to_1x) const; |