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

Unified Diff: webkit/plugins/ppapi/ppb_url_loader_impl.cc

Issue 10909244: PPAPI: Get TrackedCallback ready for running on non-main threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged. Created 8 years, 1 month 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 | « webkit/plugins/ppapi/ppb_tcp_server_socket_private_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_url_loader_impl.cc
diff --git a/webkit/plugins/ppapi/ppb_url_loader_impl.cc b/webkit/plugins/ppapi/ppb_url_loader_impl.cc
index 2884e8f33d7775a1a5c9330bcab4d3504c13d66f..81e5a0d7d135eebcbfe5544bd255c1d6d9be2f9a 100644
--- a/webkit/plugins/ppapi/ppb_url_loader_impl.cc
+++ b/webkit/plugins/ppapi/ppb_url_loader_impl.cc
@@ -445,7 +445,7 @@ void PPB_URLLoader_Impl::RunCallback(int32_t result) {
// callbacks get called in an unexpected order.
user_buffer_ = NULL;
user_buffer_size_ = 0;
- TrackedCallback::ClearAndRun(&pending_callback_, result);
+ pending_callback_->Run(result);
}
size_t PPB_URLLoader_Impl::FillUserBuffer() {
« no previous file with comments | « webkit/plugins/ppapi/ppb_tcp_server_socket_private_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698