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

Unified Diff: ppapi/tests/test_flash.cc

Issue 9615050: Remove NewRequiredCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « ppapi/native_client/src/trusted/plugin/plugin.cc ('k') | ppapi/tests/test_flash_message_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_flash.cc
diff --git a/ppapi/tests/test_flash.cc b/ppapi/tests/test_flash.cc
index debbc49f38f0531bfc5bbf7e3bb165fd771104e4..6ad4322f63219f4ab1d4c0d54611e1397da6f49f 100644
--- a/ppapi/tests/test_flash.cc
+++ b/ppapi/tests/test_flash.cc
@@ -72,7 +72,7 @@ std::string TestFlash::TestGetProxyForURL() {
std::string TestFlash::TestMessageLoop() {
pp::CompletionCallback callback =
- callback_factory_.NewRequiredCallback(&TestFlash::QuitMessageLoopTask);
+ callback_factory_.NewCallback(&TestFlash::QuitMessageLoopTask);
pp::Module::Get()->core()->CallOnMainThread(0, callback);
flash_interface_->RunMessageLoop(instance_->pp_instance());
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/plugin.cc ('k') | ppapi/tests/test_flash_message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698