Reviewed by Darin.
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Jan 2005 23:16:39 +0000 (23:16 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Jan 2005 23:16:39 +0000 (23:16 +0000)
        <rdar://problem/3964164> AXWebArea needs to unregister on going invisible

        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::detach):
        Detach the AX UIElement for the AXWebArea.

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

WebCore/ChangeLog-2005-08-23
WebCore/khtml/xml/dom_docimpl.cpp

index a660823a0cf57bfb4db37e095100054c1e534e52..f89a9f531e4bfc32f473e21963c17ec326a3dd3e 100644 (file)
@@ -1,3 +1,13 @@
+2005-01-31  David Harrison  <harrison@apple.com>
+
+        Reviewed by Darin.
+
+        <rdar://problem/3964164> AXWebArea needs to unregister on going invisible
+
+        * khtml/xml/dom_docimpl.cpp:
+        (DocumentImpl::detach):
+        Detach the AX UIElement for the AXWebArea.
+
 2005-01-31  David Harrison  <harrison@apple.com>
 
         Reviewed by Darin
index 0820ecf7dcdb52af0f4c2453367b51cc48213cb2..45350aa716761d9c4bfd638581bbb7003f9ac65f 100644 (file)
@@ -1179,6 +1179,8 @@ void DocumentImpl::detach()
     
 #if APPLE_CHANGES
     if (m_inPageCache) {
+        if ( render )
+            getAccObjectCache()->detach(render);
         return;
     }
 #endif