Index: webkit/plugins/ppapi/message_channel.cc |
diff --git a/webkit/plugins/ppapi/message_channel.cc b/webkit/plugins/ppapi/message_channel.cc |
index 059a06b53b9be8927115a002a63bd4e46a713960..4a9fdd09dc7b14f108200c6d12ef8921c37455aa 100644 |
--- a/webkit/plugins/ppapi/message_channel.cc |
+++ b/webkit/plugins/ppapi/message_channel.cc |
@@ -331,7 +331,7 @@ MessageChannel::MessageChannel(PluginInstance* instance) |
: instance_(instance), |
passthrough_object_(NULL), |
np_object_(NULL), |
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)), |
+ weak_ptr_factory_(this), |
early_message_queue_state_(QUEUE_MESSAGES) { |
// Now create an NPObject for receiving calls to postMessage. This sets the |
// reference count to 1. We release it in the destructor. |