2009-02-24 Dimitri Glazkov <dglazkov@chromium.org>
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Feb 2009 00:18:06 +0000 (00:18 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Feb 2009 00:18:06 +0000 (00:18 +0000)
        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=24131
        Fix-up COM/RefCounted dichotomy in Chromium port.

        * page/chromium/AccessibilityObjectWrapper.h:
        (WebCore::AccessibilityObjectWrapper::AccessibilityObjectWrapper): Added
        explicit setting of recount.

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

WebCore/ChangeLog
WebCore/page/chromium/AccessibilityObjectWrapper.h

index 9900689a2d7fa3698bea7d460b9152fb0b72f056..1e359f744ce5e7c72ad43fb51a849e6e37993e25 100644 (file)
@@ -1,3 +1,14 @@
+2009-02-24  Dimitri Glazkov  <dglazkov@chromium.org>
+
+        Reviewed by Eric Seidel.
+
+        https://bugs.webkit.org/show_bug.cgi?id=24131
+        Fix-up COM/RefCounted dichotomy in Chromium port.
+
+        * page/chromium/AccessibilityObjectWrapper.h:
+        (WebCore::AccessibilityObjectWrapper::AccessibilityObjectWrapper): Added
+        explicit setting of recount.
+
 2009-02-24  Dimitri Glazkov  <dglazkov@chromium.org>
 
         Reviewed by Eric Seidel.
index 9920e4dd4bca0944337590a2062d36c03308e33f..6420b3257c350fecd27522e44c8d610eaca41e36 100644 (file)
@@ -39,7 +39,11 @@ namespace WebCore {
 
     protected:
         AccessibilityObjectWrapper(AccessibilityObject* obj)
-            : RefCounted<AccessibilityObjectWrapper>(0), m_object(obj) { }
+            : m_object(obj)
+        {
+            // FIXME: Remove this once our immediate subclass no longer uses COM.
+            m_refCount = 0;
+        }
         AccessibilityObjectWrapper() : m_object(0) { }
 
         AccessibilityObject* m_object;