From 6b9f4f53309ddac7bac2e3cd9aecf927a25651ad Mon Sep 17 00:00:00 2001
From: "erg@chromium.org"
 <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Sat, 20 Oct 2012 00:32:38 +0000
Subject: Desktop aura: Fix cursor display

In r11033038, the cursorclient wasn't sent SetDeviceScaleFactor() messages.
Those were needed to set the scale factor in the first place. Since we
aren't receiving those calls anymore, set the default scale factor in
CursorLoader to 1.0f.

BUG=154183

Review URL: https://chromiumcodereview.appspot.com/11233007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163108 0039d316-1c4b-4281-b951-d872f2087c98
---
 ui/base/cursor/cursor_loader.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'ui/base')

diff --git a/ui/base/cursor/cursor_loader.h b/ui/base/cursor/cursor_loader.h
index 48167e7..1a87a42 100644
--- a/ui/base/cursor/cursor_loader.h
+++ b/ui/base/cursor/cursor_loader.h
@@ -14,7 +14,7 @@ namespace ui {
 
 class UI_EXPORT CursorLoader {
  public:
-  CursorLoader() : device_scale_factor_(0.0f) {}
+  CursorLoader() : device_scale_factor_(1.0f) {}
   virtual ~CursorLoader() {}
 
   // Returns the device scale factor used by the loader.
-- 
cgit v1.1