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

Unified Diff: gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc

Issue 67923002: Fixes for -Wunused-function on Linux, Android and ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for realz 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
Index: gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc
diff --git a/gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc b/gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc
index fa91220999e380dd7803a93a576e03d1db3d2b19..dcf4c1bab5f4f0b1e7ae1a3559f39b798ae41190 100644
--- a/gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc
+++ b/gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc
@@ -48,6 +48,7 @@ class GLVirtualContextsTest : public testing::Test {
namespace {
+#if !defined(OS_ANDROID)
void SetupSimpleShader(const uint8* color) {
static const char* v_shader_str = SHADER(
attribute vec4 a_Position;
@@ -90,6 +91,8 @@ void TestDraw(int size) {
glDrawArrays(GL_TRIANGLES, 0, 6);
}
+#endif // !defined(OS_ANDROID)
+
} // anonymous namespace
// http://crbug.com/281565
« no previous file with comments | « content/shell/browser/shell_content_browser_client.cc ('k') | net/ssl/server_bound_cert_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698