OSDN Git Service

Merge webkit.org at R49305 : FrameLoader::stopLoading now uses an enum.
authorSteve Block <steveblock@google.com>
Mon, 12 Oct 2009 10:21:24 +0000 (11:21 +0100)
committerSteve Block <steveblock@google.com>
Mon, 19 Oct 2009 23:45:06 +0000 (00:45 +0100)
See http://trac.webkit.org/changeset/48001

Change-Id: I11d6bae61de1f528ed8ee117c0260c78dccbd502

WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp

index 015f9a0..109863d 100644 (file)
@@ -185,7 +185,7 @@ void ChromeClientAndroid::closeWindowSoon()
     // This will prevent javascript cross-scripting during unload
     page->setGroupName(String());
     // Stop loading but do not send the unload event
-    mainFrame->loader()->stopLoading(false);
+    mainFrame->loader()->stopLoading(UnloadEventPolicyNone);
     // Cancel all pending loaders
     mainFrame->loader()->stopAllLoaders();
     // Remove all event listeners so that no javascript can execute as a result