Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1096)

Unified Diff: ppapi/utility/websocket/websocket_api.cc

Issue 324453003: PPAPI: Remove PP_ALLOW_THIS_IN_INITIALIZER_LIST (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/tests/test_message_loop.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « ppapi/tests/test_message_loop.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698