summaryrefslogtreecommitdiffstats
path: root/webkit/pending/AccessibleBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/pending/AccessibleBase.cpp')
-rw-r--r--webkit/pending/AccessibleBase.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/pending/AccessibleBase.cpp b/webkit/pending/AccessibleBase.cpp
index 9f4c320..e123ae3 100644
--- a/webkit/pending/AccessibleBase.cpp
+++ b/webkit/pending/AccessibleBase.cpp
@@ -33,6 +33,7 @@
#include "Element.h"
#include "EventHandler.h"
#include "FrameView.h"
+#include "HostWindow.h"
#include "HTMLNames.h"
#include "HTMLFrameElementBase.h"
#include "HTMLInputElement.h"
@@ -114,7 +115,7 @@ HRESULT STDMETHODCALLTYPE AccessibleBase::get_accParent(IDispatch** parent)
if (!procPtr)
return E_FAIL;
- return procPtr(m_object->topDocumentFrameView()->containingWindow(), OBJID_WINDOW, __uuidof(IAccessible), reinterpret_cast<void**>(parent));
+ return procPtr(m_object->topDocumentFrameView()->hostWindow()->platformWindow(), OBJID_WINDOW, __uuidof(IAccessible), reinterpret_cast<void**>(parent));
}
HRESULT STDMETHODCALLTYPE AccessibleBase::get_accChildCount(long* count)