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

Unified Diff: ppapi/proxy/ppb_graphics_2d_proxy.h

Issue 10696157: Add support for threadsafe completion callback factory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
Index: ppapi/proxy/ppb_graphics_2d_proxy.h
diff --git a/ppapi/proxy/ppb_graphics_2d_proxy.h b/ppapi/proxy/ppb_graphics_2d_proxy.h
index 45043cee3150de01cc88a1126a92177f7e5ff471..cf0a921a98eddad8d605b3ccdb9b8321381ce9c2 100644
--- a/ppapi/proxy/ppb_graphics_2d_proxy.h
+++ b/ppapi/proxy/ppb_graphics_2d_proxy.h
@@ -13,7 +13,7 @@
#include "ppapi/c/pp_size.h"
#include "ppapi/c/pp_var.h"
#include "ppapi/proxy/interface_proxy.h"
-#include "ppapi/proxy/proxy_non_thread_safe_ref_count.h"
+#include "ppapi/proxy/proxy_completion_callback_factory.h"
#include "ppapi/shared_impl/host_resource.h"
#include "ppapi/utility/completion_callback_factory.h"
@@ -66,8 +66,7 @@ class PPB_Graphics2D_Proxy : public InterfaceProxy {
void SendFlushACKToPlugin(int32_t result,
const HostResource& graphics_2d);
- pp::CompletionCallbackFactory<PPB_Graphics2D_Proxy,
- ProxyNonThreadSafeRefCount> callback_factory_;
+ ProxyCompletionCallbackFactory<PPB_Graphics2D_Proxy> callback_factory_;
DISALLOW_COPY_AND_ASSIGN(PPB_Graphics2D_Proxy);
};

Powered by Google App Engine
This is Rietveld 408576698