OSDN Git Service

Merge WebKit at r71558: Initial merge by git.
[android-x86/external-webkit.git] / WebKit / gtk / WebCoreSupport / DragClientGtk.cpp
index b850cec..be0fb10 100644 (file)
@@ -44,7 +44,7 @@ namespace WebKit {
 #ifdef GTK_API_VERSION_2
 static gboolean dragIconWindowDrawEventCallback(GtkWidget* widget, GdkEventExpose* event, DragClient* client)
 {
-    PlatformRefPtr<cairo_t> context = adoptPlatformRef(gdk_cairo_create(event->window));
+    RefPtr<cairo_t> context = adoptRef(gdk_cairo_create(event->window));
     client->drawDragIconWindow(widget, context.get());
     return TRUE;
 }