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

Unified Diff: content/renderer/pepper/v8_var_converter.cc

Issue 23522043: PPAPI: Make V8VarConverterTest use only 1 thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unused quit_closure_ Created 7 years, 3 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
« no previous file with comments | « content/renderer/pepper/v8_var_converter.h ('k') | content/renderer/pepper/v8_var_converter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/v8_var_converter.cc
diff --git a/content/renderer/pepper/v8_var_converter.cc b/content/renderer/pepper/v8_var_converter.cc
index e11aa6d2fdfde0941742f2e48c1f640597c8b439..062922aed126a7ed5b61df94ec7eaeb4fccddd42 100644
--- a/content/renderer/pepper/v8_var_converter.cc
+++ b/content/renderer/pepper/v8_var_converter.cc
@@ -246,9 +246,8 @@ V8VarConverter::V8VarConverter(PP_Instance instance)
V8VarConverter::V8VarConverter(
PP_Instance instance,
- const scoped_refptr<base::MessageLoopProxy>& message_loop_proxy,
scoped_ptr<ResourceConverter> resource_converter)
- : message_loop_proxy_(message_loop_proxy),
+ : message_loop_proxy_(base::MessageLoopProxy::current()),
resource_converter_(resource_converter.release()) {
}
« no previous file with comments | « content/renderer/pepper/v8_var_converter.h ('k') | content/renderer/pepper/v8_var_converter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698