Index: content/worker/webworkerclient_proxy.h |
diff --git a/content/worker/webworkerclient_proxy.h b/content/worker/webworkerclient_proxy.h |
index 31c0340d86f4fdc9096ad16cb3b6d533106ac3ba..1b05d358e6ed57c10705bb4c243d6830ae3b5d41 100644 |
--- a/content/worker/webworkerclient_proxy.h |
+++ b/content/worker/webworkerclient_proxy.h |
@@ -12,6 +12,16 @@ |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.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; |
@@ -35,7 +45,7 @@ class WebWorkerClientProxy : public WebKit::WebWorkerClient { |
// WebWorkerClient implementation. |
virtual void postMessageToWorkerObject( |
const WebKit::WebString& message, |
- const WebKit::WebMessagePortChannelArray& channel); |
+ const WebKit::WebTransferableReceiptArray& receipts); |
virtual void postExceptionToWorkerObject( |
const WebKit::WebString& error_message, |
int line_number, |