From 5ea819f80c6840c492386bfafbffb059c7e2091f Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 23 Oct 2012 10:25:11 +0200 Subject: Imported WebKit commit 20434eb8eb95065803473139d8794e98a7672f75 (http://svn.webkit.org/repository/webkit/trunk@132191) New snapshot that should fix build with latest qtbase and the QPlastiqueStyle removal --- .../chromium/MockWebRTCPeerConnectionHandler.cpp | 34 ++++++++++++---------- 1 file changed, 18 insertions(+), 16 deletions(-) (limited to 'Tools/DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp') diff --git a/Tools/DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp b/Tools/DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp index d6e5e7f05..6eaf9d603 100644 --- a/Tools/DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp +++ b/Tools/DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp @@ -34,6 +34,7 @@ #include "MockWebRTCPeerConnectionHandler.h" #include "MockConstraints.h" +#include "Task.h" #include #include #include @@ -48,11 +49,12 @@ #include using namespace WebKit; +using namespace WebTestRunner; -class RTCSessionDescriptionRequestSuccededTask : public MethodTask { +class RTCSessionDescriptionRequestSuccededTask : public WebMethodTask { public: RTCSessionDescriptionRequestSuccededTask(MockWebRTCPeerConnectionHandler* object, const WebRTCSessionDescriptionRequest& request, const WebRTCSessionDescription& result) - : MethodTask(object) + : WebMethodTask(object) , m_request(request) , m_result(result) { @@ -68,10 +70,10 @@ private: WebRTCSessionDescription m_result; }; -class RTCSessionDescriptionRequestFailedTask : public MethodTask { +class RTCSessionDescriptionRequestFailedTask : public WebMethodTask { public: RTCSessionDescriptionRequestFailedTask(MockWebRTCPeerConnectionHandler* object, const WebRTCSessionDescriptionRequest& request) - : MethodTask(object) + : WebMethodTask(object) , m_request(request) { } @@ -85,10 +87,10 @@ private: WebRTCSessionDescriptionRequest m_request; }; -class RTCStatsRequestSucceededTask : public MethodTask { +class RTCStatsRequestSucceededTask : public WebMethodTask { public: RTCStatsRequestSucceededTask(MockWebRTCPeerConnectionHandler* object, const WebKit::WebRTCStatsRequest& request, const WebKit::WebRTCStatsResponse& response) - : MethodTask(object) + : WebMethodTask(object) , m_request(request) , m_response(response) { @@ -104,10 +106,10 @@ private: WebKit::WebRTCStatsResponse m_response; }; -class RTCVoidRequestTask : public MethodTask { +class RTCVoidRequestTask : public WebMethodTask { public: RTCVoidRequestTask(MockWebRTCPeerConnectionHandler* object, const WebRTCVoidRequest& request, bool succeeded) - : MethodTask(object) + : WebMethodTask(object) , m_request(request) , m_succeeded(succeeded) { @@ -126,10 +128,10 @@ private: bool m_succeeded; }; -class StringDataTask : public MethodTask { +class StringDataTask : public WebMethodTask { public: StringDataTask(MockWebRTCPeerConnectionHandler* object, const WebRTCDataChannel& dataChannel, const WebString& data) - : MethodTask(object) + : WebMethodTask(object) , m_dataChannel(dataChannel) , m_data(data) { @@ -145,10 +147,10 @@ private: WebString m_data; }; -class CharPtrDataTask : public MethodTask { +class CharPtrDataTask : public WebMethodTask { public: CharPtrDataTask(MockWebRTCPeerConnectionHandler* object, const WebRTCDataChannel& dataChannel, const char* data, size_t length) - : MethodTask(object) + : WebMethodTask(object) , m_dataChannel(dataChannel) , m_length(length) { @@ -168,10 +170,10 @@ private: size_t m_length; }; -class DataChannelReadyStateTask : public MethodTask { +class DataChannelReadyStateTask : public WebMethodTask { public: DataChannelReadyStateTask(MockWebRTCPeerConnectionHandler* object, const WebRTCDataChannel& dataChannel, WebRTCDataChannel::ReadyState state) - : MethodTask(object) + : WebMethodTask(object) , m_dataChannel(dataChannel) , m_state(state) { @@ -187,10 +189,10 @@ private: WebRTCDataChannel::ReadyState m_state; }; -class RTCPeerConnectionReadyStateTask : public MethodTask { +class RTCPeerConnectionReadyStateTask : public WebMethodTask { public: RTCPeerConnectionReadyStateTask(MockWebRTCPeerConnectionHandler* object, WebRTCPeerConnectionHandlerClient* client, WebRTCPeerConnectionHandlerClient::ReadyState state) - : MethodTask(object) + : WebMethodTask(object) , m_client(client) , m_state(state) { -- cgit v1.2.1