diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-08 00:56:07 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-08 00:56:07 +0000 |
commit | fe8b2727568e86e14dbd00f5e9e0d5154d6b7fb4 (patch) | |
tree | b7f2c0bc36bcfa1dc156bfa18e0d6b1d168aa295 /ppapi/tests | |
parent | 56ec73072f135e7e77788f5a09e43e807faa9882 (diff) | |
download | chromium_src-fe8b2727568e86e14dbd00f5e9e0d5154d6b7fb4.zip chromium_src-fe8b2727568e86e14dbd00f5e9e0d5154d6b7fb4.tar.gz chromium_src-fe8b2727568e86e14dbd00f5e9e0d5154d6b7fb4.tar.bz2 |
mac: Prepare most test code for -Wunused-functions too.
BUG=315884
R=akalin@chromium.org, isherman@chromium.org, thestig@chromium.org, yzshen@chromium.org
TBR=piman, sergeyu
Review URL: https://codereview.chromium.org/65813002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/tests')
-rw-r--r-- | ppapi/tests/test_graphics_2d.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ppapi/tests/test_graphics_2d.cc b/ppapi/tests/test_graphics_2d.cc index 23a4fe7..9cb69dc 100644 --- a/ppapi/tests/test_graphics_2d.cc +++ b/ppapi/tests/test_graphics_2d.cc @@ -28,14 +28,6 @@ REGISTER_TEST_CASE(Graphics2D); namespace { -// A NOP flush callback for use in various tests. -void FlushCallbackNOP(void* data, int32_t result) { -} - -void FlushCallbackQuitMessageLoop(void* data, int32_t result) { - static_cast<TestGraphics2D*>(data)->QuitMessageLoop(); -} - bool CanFlushContext(pp::Instance* instance, pp::Graphics2D* context) { TestCompletionCallback callback(instance->pp_instance()); callback.WaitForResult(context->Flush(callback.GetCallback())); |