Index: gpu/command_buffer/tests/gl_shared_resources_unittest.cc |
diff --git a/gpu/command_buffer/tests/gl_shared_resources_unittest.cc b/gpu/command_buffer/tests/gl_shared_resources_unittest.cc |
index 33411c610c716a20d0a9701bf4e47e522bc49a91..136b57a90ec3234570c1fff7d84bddb081d5e66e 100644 |
--- a/gpu/command_buffer/tests/gl_shared_resources_unittest.cc |
+++ b/gpu/command_buffer/tests/gl_shared_resources_unittest.cc |
@@ -17,14 +17,7 @@ class GLSharedResources : public testing::Test { |
protected: |
virtual void SetUp() { |
GLManager::Options options; |
-#if ENABLE_DCHECK |
- // This can't be false if DCHECK is enabled because a DCHECK in |
- // gpu/command_buffer/client/share_group.h will trigger. |
- // The test below is making sure things don't break in release. |
- options.bind_generates_resource = false; |
-#else |
options.bind_generates_resource = true; |
-#endif |
gl1_.Initialize(options); |
options.share_group_manager = &gl1_; |
gl2_.Initialize(options); |