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

Unified Diff: ppapi/host/resource_message_filter_unittest.cc

Issue 53153002: Pepper: always delete ResourceMessageFilter objects on the creation thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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/host/resource_message_filter_unittest.cc
diff --git a/ppapi/host/resource_message_filter_unittest.cc b/ppapi/host/resource_message_filter_unittest.cc
index 38fd9d8f50e65b1e4d86d33845aa5b90c3b93b5f..7ab593b98253f7e8f5381343a126d8e548801240 100644
--- a/ppapi/host/resource_message_filter_unittest.cc
+++ b/ppapi/host/resource_message_filter_unittest.cc
@@ -99,7 +99,8 @@ class MyResourceFilter : public ResourceMessageFilter {
const base::Thread& bg_thread,
uint32 msg_type,
uint32 reply_msg_type)
- : ResourceMessageFilter(io_thread.message_loop_proxy()),
+ : ResourceMessageFilter(DELETE_ON_ANY_THREAD,
+ io_thread.message_loop_proxy()),
message_loop_proxy_(bg_thread.message_loop_proxy()),
msg_type_(msg_type),
reply_msg_type_(reply_msg_type),
« ppapi/host/resource_message_filter.cc ('K') | « ppapi/host/resource_message_filter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698