diff options
author | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-15 16:53:42 +0000 |
---|---|---|
committer | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-15 16:53:42 +0000 |
commit | 5610bf70f848597df05bcff94c3dc0733e3d79c5 (patch) | |
tree | e633b5b61321fdb87d29210370d2b82351c194db /webkit/pending/Document.cpp | |
parent | b46447470b12b2d6effb642cc805e1f106c24136 (diff) | |
download | chromium_src-5610bf70f848597df05bcff94c3dc0733e3d79c5.zip chromium_src-5610bf70f848597df05bcff94c3dc0733e3d79c5.tar.gz chromium_src-5610bf70f848597df05bcff94c3dc0733e3d79c5.tar.bz2 |
changes to pending needed to build WebCore
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@941 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/pending/Document.cpp')
-rw-r--r-- | webkit/pending/Document.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/webkit/pending/Document.cpp b/webkit/pending/Document.cpp index fb4ddf4..c607b5e 100644 --- a/webkit/pending/Document.cpp +++ b/webkit/pending/Document.cpp @@ -34,7 +34,6 @@ #include "ClassNodeList.h" #include "Comment.h" #include "CookieJar.h" -#include "Database.h" #include "DOMImplementation.h" #include "DocLoader.h" #include "DocumentFragment.h" @@ -112,6 +111,7 @@ #include "JSBridge.h" #if ENABLE(DATABASE) +#include "Database.h" #include "DatabaseThread.h" #endif @@ -138,6 +138,12 @@ #include "TimeScheduler.h" #endif +#if defined(__APPLE__) +// we need to be PLATFORM(CHROME) for this file, even if we're not building +// that particular target, for the a11y ifdefs. +#define WTF_PLATFORM_CHROME 1 +#endif + using namespace std; using namespace WTF; using namespace Unicode; @@ -2505,7 +2511,7 @@ bool Document::setFocusedNode(PassRefPtr<Node> newFocusedNode) } } -#if PLATFORM(MAC) +#if PLATFORM(MAC) && !PLATFORM(CHROME) if (!focusChangeBlocked && m_focusedNode && AXObjectCache::accessibilityEnabled()) axObjectCache()->handleFocusedUIElementChanged(); #endif |