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

Unified Diff: ppapi/cpp/completion_callback.h

Issue 8821010: WebSocket Pepper API: C++ bindings implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: straightforward C++ interface Created 9 years 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
Index: ppapi/cpp/completion_callback.h
diff --git a/ppapi/cpp/completion_callback.h b/ppapi/cpp/completion_callback.h
index e83616e6f7e37b512af882733ae7658b9f9d4883..77e422b06e6abb2c02c8a2f75b61d1dbbc23c426 100644
--- a/ppapi/cpp/completion_callback.h
+++ b/ppapi/cpp/completion_callback.h
@@ -179,7 +179,8 @@ CompletionCallback BlockUntilComplete();
///
/// class MyHandler {
/// public:
-/// MyHandler() : factory_(this), offset_(0) {
+/// MyHandler()
+/// : factory_(PP_ALLOW_THIS_IN_INITIALIZER_LIST(this)), offset_(0) {
dmichael (off chromium) 2011/12/09 23:05:26 Actually, this macro is really just a way around a
Takashi Toyoshima 2011/12/13 14:08:23 Done.
/// }
///
/// void ProcessFile(const FileRef& file) {

Powered by Google App Engine
This is Rietveld 408576698