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 |