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

Unified Diff: ppapi/tests/test_graphics_2d.cc

Issue 65813002: mac: Prepare most test code for -Wunused-functions too. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 | « net/ssl/default_server_bound_cert_store_unittest.cc ('k') | remoting/host/host_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_graphics_2d.cc
diff --git a/ppapi/tests/test_graphics_2d.cc b/ppapi/tests/test_graphics_2d.cc
index 23a4fe76fb41abaa9499cfc3de74fd0c8bb089eb..9cb69dce49e3deb4775727dd734d54354d2f3b44 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()));
« no previous file with comments | « net/ssl/default_server_bound_cert_store_unittest.cc ('k') | remoting/host/host_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698