Chromium Code Reviews| 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) { |