diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-11 04:20:33 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-11 04:20:33 +0000 |
commit | 6a73623445e3938c767ac4c56849035b22be5c28 (patch) | |
tree | 283a4949010a9fd0243ead9a510a54ec17e1f313 /views/controls/textfield | |
parent | e39690735bac27e261e00ad237d734827cf1e3c7 (diff) | |
download | chromium_src-6a73623445e3938c767ac4c56849035b22be5c28.zip chromium_src-6a73623445e3938c767ac4c56849035b22be5c28.tar.gz chromium_src-6a73623445e3938c767ac4c56849035b22be5c28.tar.bz2 |
Add gfx::kNullCursor to refer to "no cursor"
linux/aura build uses unsigned long as NativeCursor which requires
cast to use NULL. Define constants instead.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8216016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104848 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/textfield')
-rw-r--r-- | views/controls/textfield/native_textfield_views.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/textfield/native_textfield_views.cc b/views/controls/textfield/native_textfield_views.cc index 64835c5..8d8f609 100644 --- a/views/controls/textfield/native_textfield_views.cc +++ b/views/controls/textfield/native_textfield_views.cc @@ -298,7 +298,7 @@ gfx::NativeCursor NativeTextfieldViews::GetCursor(const MouseEvent& event) { #elif defined(USE_AURA) // TODO(saintlou): (void)text_cursor; - return NULL; + return gfx::kNullCursor; #else return text_cursor ? gfx::GetCursor(GDK_XTERM) : NULL; #endif |