summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-12 01:59:02 +0000
committerhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-12 01:59:02 +0000
commit1d51882f44178fb5bdbf6a7f31e435c9d6de652a (patch)
tree97388deda6011a2d2897a8d4eea831a6bc56b568 /gpu
parent9e9a06a3d002a799246a5dbbd9d95aef999185c9 (diff)
downloadchromium_src-1d51882f44178fb5bdbf6a7f31e435c9d6de652a.zip
chromium_src-1d51882f44178fb5bdbf6a7f31e435c9d6de652a.tar.gz
chromium_src-1d51882f44178fb5bdbf6a7f31e435c9d6de652a.tar.bz2
Fixes for -Wunused-function on Linux, Android and ChromeOS
BUG=315884, 78045 TBR=owners Review URL: https://codereview.chromium.org/67923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234373 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc b/gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc
index fa91220..dcf4c1b 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