summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2009-12-09 14:47:50 +0000
committerSteve Block <steveblock@google.com>2009-12-17 17:41:11 +0000
commit031c32d25a37eec52b946918d7648750f8e59a1f (patch)
treebbf22a5fe157859cd12d9ea7c673a86833da6fe8 /WebKit/android/WebCoreSupport
parentd5340bbd847b3fabb04f28f1aa8425f1874b0bb3 (diff)
downloadexternal_webkit-031c32d25a37eec52b946918d7648750f8e59a1f.zip
external_webkit-031c32d25a37eec52b946918d7648750f8e59a1f.tar.gz
external_webkit-031c32d25a37eec52b946918d7648750f8e59a1f.tar.bz2
Merge webkit.org at r51976 : FrameLoaderClient::windowObjectCleared has been replaced with dispatchDidClearWindowObjectInWorld.
See http://trac.webkit.org/changeset/50973 Change-Id: I54093cd917f15a51412b07b5495f32502cfd23b5
Diffstat (limited to 'WebKit/android/WebCoreSupport')
-rw-r--r--WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp6
-rw-r--r--WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp b/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
index 44c942d..60e7913 100644
--- a/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
+++ b/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
@@ -1059,7 +1059,11 @@ String FrameLoaderClientAndroid::overrideMediaType() const {
}
// This function is used to re-attach Javascript<->native code classes.
-void FrameLoaderClientAndroid::windowObjectCleared() {
+void FrameLoaderClientAndroid::dispatchDidClearWindowObjectInWorld(DOMWrapperWorld* world)
+{
+ if (world != mainThreadNormalWorld())
+ return;
+
ASSERT(m_frame);
LOGV("::WebCore:: windowObjectCleared called on frame %p for %s\n",
m_frame, m_frame->loader()->url().string().ascii().data());
diff --git a/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.h b/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.h
index 86551f3..78896da 100644
--- a/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.h
+++ b/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.h
@@ -181,7 +181,7 @@ namespace android {
virtual ObjectContentType objectContentType(const KURL& url, const String& mimeType);
virtual String overrideMediaType() const;
- virtual void windowObjectCleared();
+ virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*);
virtual void documentElementAvailable();
virtual void didPerformFirstNavigation() const;