Index: webkit/tools/test_shell/test_web_worker.h |
diff --git a/webkit/tools/test_shell/test_web_worker.h b/webkit/tools/test_shell/test_web_worker.h |
index 9c23ccceaf2719004a57b77369d4bf0465dc17b0..4e7e6fb4462a66d331e88f3e9beeae913da27368 100644 |
--- a/webkit/tools/test_shell/test_web_worker.h |
+++ b/webkit/tools/test_shell/test_web_worker.h |
@@ -11,6 +11,16 @@ |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebWorker.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebWorkerClient.h" |
+#ifndef WebTransferableReceipt_h |
+#ifndef STUB_WebTransferableReceipt_h |
+#define STUB_WebTransferableReceipt_h |
+namespace WebKit { |
+typedef WebMessagePortChannel WebTransferableReceipt; |
+typedef WebVector<WebTransferableReceipt*> WebTransferableReceiptArray; |
+} // namespace WebKit |
+#endif // STUB_WebTransferableReceipt_h |
+#endif // WebTransferableReceipt_h |
+ |
namespace WebKit { |
class WebApplicationCacheHost; |
class WebApplicationCacheHostClient; |
@@ -37,7 +47,7 @@ class TestWebWorker : public WebKit::WebWorker, |
} |
virtual void postMessageToWorkerContext( |
const WebKit::WebString& message, |
- const WebKit::WebMessagePortChannelArray& channel) { |
+ const WebKit::WebTransferableReceiptArray& receipts) { |
} |
virtual void workerObjectDestroyed(); |
virtual void clientDestroyed() { |
@@ -46,7 +56,7 @@ class TestWebWorker : public WebKit::WebWorker, |
// WebWorkerClient methods: |
virtual void postMessageToWorkerObject( |
const WebKit::WebString& message, |
- const WebKit::WebMessagePortChannelArray& channel) { |
+ const WebKit::WebTransferableReceiptArray& receipts) { |
} |
virtual void postExceptionToWorkerObject( |
const WebKit::WebString& error_message, |