[GLIB] Use GUniquePtr instead of GOwnPtr
[WebKit-https.git] / Tools / DumpRenderTree / efl / AccessibilityControllerEfl.cpp
index 8012da6..683e653 100644 (file)
@@ -37,7 +37,7 @@
 #include "WebCoreSupport/DumpRenderTreeSupportEfl.h"
 
 #include <atk/atk.h>
-#include <wtf/gobject/GOwnPtr.h>
+#include <wtf/gobject/GUniquePtr.h>
 
 AccessibilityUIElement AccessibilityController::focusedElement()
 {
@@ -64,7 +64,7 @@ AccessibilityUIElement AccessibilityController::accessibleElementById(JSStringRe
         return 0;
 
     size_t bufferSize = JSStringGetMaximumUTF8CStringSize(id);
-    GOwnPtr<gchar> idBuffer(static_cast<gchar*>(g_malloc(bufferSize)));
+    GUniquePtr<gchar> idBuffer(static_cast<gchar*>(g_malloc(bufferSize)));
     JSStringGetUTF8CString(id, idBuffer.get(), bufferSize);
 
     AtkObject* result = childElementById(root, idBuffer.get());