diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-16 15:06:26 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-16 15:06:26 +0000 |
commit | d1674cc46eb45a64893012d4f3de28bced1bd1c4 (patch) | |
tree | 2c847cdcc5b4d20698819260f9c83212672e4334 /ppapi/tests/test_utils.cc | |
parent | e0da8625a9a2ed98612906da021aadd46f12f5da (diff) | |
download | chromium_src-d1674cc46eb45a64893012d4f3de28bced1bd1c4.zip chromium_src-d1674cc46eb45a64893012d4f3de28bced1bd1c4.tar.gz chromium_src-d1674cc46eb45a64893012d4f3de28bced1bd1c4.tar.bz2 |
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
Diffstat (limited to 'ppapi/tests/test_utils.cc')
-rw-r--r-- | ppapi/tests/test_utils.cc | 11 |
1 files changed, 0 insertions, 11 deletions
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; |