Index: content/renderer/webworker_proxy.h |
diff --git a/content/renderer/webworker_proxy.h b/content/renderer/webworker_proxy.h |
index fea3811fc2db9b44cf526703f049024c7828284a..1907ec0c1f98a49950c95df452812dfb8477c033 100644 |
--- a/content/renderer/webworker_proxy.h |
+++ b/content/renderer/webworker_proxy.h |
@@ -13,6 +13,16 @@ |
#include "ipc/ipc_channel.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebWorker.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 |
+ |
class ChildThread; |
class GURL; |
class RenderView; |
@@ -38,7 +48,7 @@ class WebWorkerProxy : public WebKit::WebWorker, private WebWorkerBase { |
virtual void terminateWorkerContext(); |
virtual void postMessageToWorkerContext( |
const WebKit::WebString& message, |
- const WebKit::WebMessagePortChannelArray& channel_array); |
+ const WebKit::WebTransferableReceiptArray& receipts); |
virtual void workerObjectDestroyed(); |
virtual void clientDestroyed(); |