Chromium Code Reviews| Index: ui/base/layout.h |
| diff --git a/ui/base/layout.h b/ui/base/layout.h |
| index df9f6cc5e7a1a417c32ec71bef500ce5aa98e2ef..846bb215c2ac49e88638f58524c4000fb551c018 100644 |
| --- a/ui/base/layout.h |
| +++ b/ui/base/layout.h |
| @@ -53,7 +53,7 @@ UI_BASE_EXPORT float GetImageScale(ScaleFactor scale_factor); |
| UI_BASE_EXPORT ScaleFactor GetSupportedScaleFactor(float image_scale); |
| // Returns the ScaleFactor used by |view|. |
| -UI_BASE_EXPORT ScaleFactor GetScaleFactorForNativeView(gfx::NativeView view); |
| +UI_BASE_EXPORT float GetScaleFactorForNativeView(gfx::NativeView view); |
|
sky
2014/05/19 22:23:01
Shouln't this be GetScaleForNativeView? This bette
oshima
2014/05/19 22:45:11
GetImageScale and GetScaleForScaleFactor will be r
|
| // Returns true if |scale_factor| is supported by this platform. |
| UI_BASE_EXPORT bool IsScaleFactorSupported(ScaleFactor scale_factor); |