| Index: views/controls/link.cc
|
| diff --git a/views/controls/link.cc b/views/controls/link.cc
|
| index 0b27ec569064f504a49d4c0a2371813066cecad3..b6874b9e14f0ead0fb0f25a6f317534c8def81c0 100644
|
| --- a/views/controls/link.cc
|
| +++ b/views/controls/link.cc
|
| @@ -6,7 +6,7 @@
|
|
|
| #include "build/build_config.h"
|
|
|
| -#if defined(OS_LINUX)
|
| +#if defined(TOOLKIT_USES_GTK)
|
| #include <gdk/gdk.h>
|
| #endif
|
|
|
| @@ -18,7 +18,7 @@
|
| #include "views/controls/link_listener.h"
|
| #include "views/events/event.h"
|
|
|
| -#if defined(OS_LINUX)
|
| +#if defined(TOOLKIT_USES_GTK)
|
| #include "ui/gfx/gtk_util.h"
|
| #endif
|
|
|
| @@ -103,11 +103,11 @@ gfx::NativeCursor Link::GetCursor(const MouseEvent& event) {
|
| #if defined(OS_WIN)
|
| static HCURSOR g_hand_cursor = LoadCursor(NULL, IDC_HAND);
|
| return g_hand_cursor;
|
| -#elif defined(USE_AURA)
|
| +#elif defined(TOOLKIT_USES_GTK)
|
| + return gfx::GetCursor(GDK_HAND2);
|
| +#else
|
| // TODO(saintlou):
|
| return NULL;
|
| -#elif defined(OS_LINUX)
|
| - return gfx::GetCursor(GDK_HAND2);
|
| #endif
|
| }
|
|
|
|
|