Index: content/browser/renderer_host/dip_util.h |
diff --git a/content/browser/renderer_host/dip_util.h b/content/browser/renderer_host/dip_util.h |
index 82c97728c5a9b75f937a2c341ade4bedbdd449dc..27e7dd19e9e4f0aa10ba402f2c2ddca87613b3b9 100644 |
--- a/content/browser/renderer_host/dip_util.h |
+++ b/content/browser/renderer_host/dip_util.h |
@@ -6,7 +6,6 @@ |
#define CONTENT_BROWSER_RENDERER_HOST_DIP_UTIL_H_ |
#include "content/common/content_export.h" |
-#include "ui/base/layout.h" |
namespace gfx { |
class Point; |
@@ -18,9 +17,8 @@ namespace content { |
class RenderWidgetHostView; |
// Returns scale factor of the display nearest to |view|. |
-// Returns ui::SCALE_FACTOR_100P if the platform does not support DIP. |
-CONTENT_EXPORT ui::ScaleFactor GetScaleFactorForView( |
- const RenderWidgetHostView* view); |
+// Returns 1.0f if the platform does not support DIP. |
+CONTENT_EXPORT float GetScaleFactorForView(const RenderWidgetHostView* view); |
// Utility functions that convert point/size/rect between DIP and pixel |
// coordinate system. |