Index: ppapi/utility/websocket/websocket_api.cc |
diff --git a/ppapi/utility/websocket/websocket_api.cc b/ppapi/utility/websocket/websocket_api.cc |
index c251539365cf5d5b8f78bfff18f68f6b43d4fec6..82a320e5adb68d618d85a75c47e2909f8dc932ae 100644 |
--- a/ppapi/utility/websocket/websocket_api.cc |
+++ b/ppapi/utility/websocket/websocket_api.cc |
@@ -24,7 +24,7 @@ class WebSocketAPI::Implement : public WebSocket { |
Implement(Instance* instance, WebSocketAPI* api) |
: WebSocket(instance), |
api_(api), |
- callback_factory_(PP_ALLOW_THIS_IN_INITIALIZER_LIST(this)) { |
+ callback_factory_(this) { |
} |
virtual ~Implement() {} |
@@ -104,7 +104,7 @@ class WebSocketAPI::Implement : public WebSocket { |
}; |
WebSocketAPI::WebSocketAPI(Instance* instance) |
- : impl_(new Implement(instance, PP_ALLOW_THIS_IN_INITIALIZER_LIST(this))) { |
+ : impl_(new Implement(instance, this)) { |
} |
WebSocketAPI::~WebSocketAPI() { |