diff options
author | Ben Murdoch <benm@google.com> | 2009-08-11 17:01:47 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2009-08-11 18:21:02 +0100 |
commit | 0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5 (patch) | |
tree | 2943df35f62d885c89d01063cc528dd73b480fea /WebKit/win/AccessibleDocument.cpp | |
parent | 7e7a70bfa49a1122b2597a1e6367d89eb4035eca (diff) | |
download | external_webkit-0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5.zip external_webkit-0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5.tar.gz external_webkit-0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5.tar.bz2 |
Merge in WebKit r47029.
Diffstat (limited to 'WebKit/win/AccessibleDocument.cpp')
-rw-r--r-- | WebKit/win/AccessibleDocument.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/WebKit/win/AccessibleDocument.cpp b/WebKit/win/AccessibleDocument.cpp index 600443f..3b53323 100644 --- a/WebKit/win/AccessibleDocument.cpp +++ b/WebKit/win/AccessibleDocument.cpp @@ -34,10 +34,15 @@ using namespace WebCore; // AccessibleDocument AccessibleDocument::AccessibleDocument(Document* doc) - : AccessibleBase(doc->axObjectCache()->get(doc->renderer())) + : AccessibleBase(doc->axObjectCache()->getOrCreate(doc->renderer())) { } +long AccessibleDocument::role() const +{ + return ROLE_SYSTEM_DOCUMENT; +} + Document* AccessibleDocument::document() const { if (!m_object) |