summaryrefslogtreecommitdiffstats
path: root/WebKitTools/DumpRenderTree/chromium/DRTDevToolsClient.cpp
diff options
context:
space:
mode:
authorIain Merrick <husky@google.com>2010-09-13 16:35:48 +0100
committerIain Merrick <husky@google.com>2010-09-16 12:10:42 +0100
commit5abb8606fa57c3ebfc8b3c3dbc3fa4a25d2ae306 (patch)
treeddce1aa5e3b6967a69691892e500897558ff8ab6 /WebKitTools/DumpRenderTree/chromium/DRTDevToolsClient.cpp
parent12bec63ec71e46baba27f0bd9bd9d8067683690a (diff)
downloadexternal_webkit-5abb8606fa57c3ebfc8b3c3dbc3fa4a25d2ae306.zip
external_webkit-5abb8606fa57c3ebfc8b3c3dbc3fa4a25d2ae306.tar.gz
external_webkit-5abb8606fa57c3ebfc8b3c3dbc3fa4a25d2ae306.tar.bz2
Merge WebKit at r67178 : Initial merge by git.
Change-Id: I57e01163b6866cb029cdadf405a0394a3918bc18
Diffstat (limited to 'WebKitTools/DumpRenderTree/chromium/DRTDevToolsClient.cpp')
-rw-r--r--WebKitTools/DumpRenderTree/chromium/DRTDevToolsClient.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/WebKitTools/DumpRenderTree/chromium/DRTDevToolsClient.cpp b/WebKitTools/DumpRenderTree/chromium/DRTDevToolsClient.cpp
index 42f3724..a53f0db 100644
--- a/WebKitTools/DumpRenderTree/chromium/DRTDevToolsClient.cpp
+++ b/WebKitTools/DumpRenderTree/chromium/DRTDevToolsClient.cpp
@@ -45,8 +45,7 @@
using namespace WebKit;
DRTDevToolsClient::DRTDevToolsClient(DRTDevToolsAgent* agent, WebView* webView)
- : m_callMethodFactory(this)
- , m_drtDevToolsAgent(agent)
+ : m_drtDevToolsAgent(agent)
, m_webView(webView)
{
m_webDevToolsFrontend.set(WebDevToolsFrontend::create(m_webView,
@@ -59,14 +58,14 @@ DRTDevToolsClient::~DRTDevToolsClient()
{
// There is a chance that the page will be destroyed at detach step of
// m_drtDevToolsAgent and we should clean pending requests a bit earlier.
- m_callMethodFactory.RevokeAll();
+ m_taskList.revokeAll();
if (m_drtDevToolsAgent)
m_drtDevToolsAgent->detach();
}
void DRTDevToolsClient::reset()
{
- m_callMethodFactory.RevokeAll();
+ m_taskList.revokeAll();
}
void DRTDevToolsClient::sendFrontendLoaded() {
@@ -107,8 +106,7 @@ void DRTDevToolsClient::undockWindow()
void DRTDevToolsClient::asyncCall(const DRTDevToolsCallArgs& args)
{
- webkit_support::PostTaskFromHere(
- m_callMethodFactory.NewRunnableMethod(&DRTDevToolsClient::call, args));
+ postTask(new AsyncCallTask(this, args));
}
void DRTDevToolsClient::call(const DRTDevToolsCallArgs& args)