| Index: webkit/glue/webcursor_gtk.cc
|
| diff --git a/webkit/glue/webcursor_gtk.cc b/webkit/glue/webcursor_gtk.cc
|
| index b652eea3030b5553acd75765c47129c0d3f2fe48..0c6fe565dbe97a3b8fbfa600d6479004ffe8cd26 100644
|
| --- a/webkit/glue/webcursor_gtk.cc
|
| +++ b/webkit/glue/webcursor_gtk.cc
|
| @@ -31,10 +31,10 @@ GdkCursor* GetInlineCustomCursor(CustomCursorType type) {
|
| if (!cursor) {
|
| const GdkColor fg = { 0, 0, 0, 0 };
|
| const GdkColor bg = { 65535, 65535, 65535, 65535 };
|
| - GdkPixmap* source = gdk_bitmap_create_from_data(NULL, custom.bits,
|
| - 32, 32);
|
| - GdkPixmap* mask = gdk_bitmap_create_from_data(NULL, custom.mask_bits,
|
| - 32, 32);
|
| + GdkPixmap* source = gdk_bitmap_create_from_data(
|
| + NULL, reinterpret_cast<const gchar*>(custom.bits), 32, 32);
|
| + GdkPixmap* mask = gdk_bitmap_create_from_data(
|
| + NULL, reinterpret_cast<const gchar*>(custom.mask_bits), 32, 32);
|
| cursor = gdk_cursor_new_from_pixmap(source, mask, &fg, &bg,
|
| custom.hot_x, custom.hot_y);
|
| g_object_unref(source);
|
|
|