From d1674cc46eb45a64893012d4f3de28bced1bd1c4 Mon Sep 17 00:00:00 2001 From: "dmichael@chromium.org" Date: Tue, 16 Apr 2013 15:06:26 +0000 Subject: PPAPI: More test cleanup This removes the last usage of WaitForResult and force_async_, so removes them as well. BUG= Review URL: https://codereview.chromium.org/14139012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194364 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/tests/test_utils.cc | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'ppapi/tests/test_utils.cc') diff --git a/ppapi/tests/test_utils.cc b/ppapi/tests/test_utils.cc index 06a4571..4d251d2 100644 --- a/ppapi/tests/test_utils.cc +++ b/ppapi/tests/test_utils.cc @@ -150,17 +150,6 @@ TestCompletionCallback::TestCompletionCallback(PP_Instance instance, delegate_(NULL) { } -int32_t TestCompletionCallback::WaitForResult() { - PP_DCHECK(!wait_for_result_called_); - wait_for_result_called_ = true; - errors_.clear(); - if (!have_result_) { - post_quit_task_ = true; - RunMessageLoop(); - } - return result_; -} - void TestCompletionCallback::WaitForResult(int32_t result) { PP_DCHECK(!wait_for_result_called_); wait_for_result_called_ = true; -- cgit v1.1