2009-06-10 Xan Lopez <xlopez@igalia.com>
authorxan@webkit.org <xan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Jun 2009 17:03:36 +0000 (17:03 +0000)
committerxan@webkit.org <xan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Jun 2009 17:03:36 +0000 (17:03 +0000)
        Reviewed by Gustavo Noronha.

        Do not check if our parent class has the finalize method, it's
        guaranteed to be there.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (webkit_accessible_finalize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@44566 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/accessibility/gtk/AccessibilityObjectWrapperAtk.cpp

index 253456690202d58c128b970a647a86f351580335..b2b54928b6cafdb27cd5f1ce1872d1e98a6c4709 100644 (file)
@@ -1,3 +1,13 @@
+2009-06-10  Xan Lopez  <xlopez@igalia.com>
+
+        Reviewed by Gustavo Noronha.
+
+        Do not check if our parent class has the finalize method, it's
+        guaranteed to be there.
+
+        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
+        (webkit_accessible_finalize):
+
 2009-06-10  Brent Fulgham  <bfulgham@webkit.org>
 
         Build correct for Windows Cairo targets.
index 7ca65d2ae3edd93042821e11595258d595c45225..be786368dc7f97b17845c6ecde806c9050767aeb 100644 (file)
@@ -377,8 +377,7 @@ static void webkit_accessible_finalize(GObject* object)
     // This is a good time to clear the return buffer.
     returnString(String());
 
-    if (G_OBJECT_CLASS(webkit_accessible_parent_class)->finalize)
-        G_OBJECT_CLASS(webkit_accessible_parent_class)->finalize(object);
+    G_OBJECT_CLASS(webkit_accessible_parent_class)->finalize(object);
 }
 
 static void webkit_accessible_class_init(AtkObjectClass* klass)