Index: webkit/glue/webcursor_gtk.cc |
diff --git a/webkit/glue/webcursor_gtk.cc b/webkit/glue/webcursor_gtk.cc |
index b9fff015a90c51ae118d77cf9a45e746d102c17b..ce23ea8d1bb5c96115aa740a665daad6a11efc16 100644 |
--- a/webkit/glue/webcursor_gtk.cc |
+++ b/webkit/glue/webcursor_gtk.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -182,10 +182,10 @@ GdkCursor* WebCursor::GetCustomCursor() { |
hotspot_.x(), |
hotspot_.y()); |
- g_object_unref(pixbuf); |
+ gdk_pixbuf_unref(pixbuf); |
if (unref_) |
- g_object_unref(unref_); |
+ gdk_cursor_unref(unref_); |
unref_ = cursor; |
return cursor; |
} |