Index: webkit/glue/webcursor_gtk.cc |
diff --git a/webkit/glue/webcursor_gtk.cc b/webkit/glue/webcursor_gtk.cc |
index 209e761b6cc99c54c029994715d4ae87b87a827a..eb5ea62edb55d5707c9556d7c0e9008d5ab7b3c0 100644 |
--- a/webkit/glue/webcursor_gtk.cc |
+++ b/webkit/glue/webcursor_gtk.cc |
@@ -141,13 +141,22 @@ int WebCursor::GetCursorType() const { |
} |
gfx::NativeCursor WebCursor::GetNativeCursor() { |
+#if defined(USE_AURA) |
+ // TODO(saintlou): |
+ return NULL; |
+#else |
int type = GetCursorType(); |
if (type == GDK_CURSOR_IS_PIXMAP) |
return GetCustomCursor(); |
return gfx::GetCursor(type); |
+#endif |
} |
GdkCursor* WebCursor::GetCustomCursor() { |
+#if defined(USE_AURA) |
+ // TODO(saintlou): |
+ return NULL; |
+#else |
switch (type_) { |
case WebCursorInfo::TypeZoomIn: |
return GetInlineCustomCursor(CustomCursorZoomIn); |
@@ -182,6 +191,7 @@ GdkCursor* WebCursor::GetCustomCursor() { |
gdk_cursor_unref(unref_); |
unref_ = cursor; |
return cursor; |
+#endif |
} |
void WebCursor::InitPlatformData() { |