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

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

Issue 195973002: Change DCHECK_IS_ON() to DCHECK_IS_ON (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep a comment Created 6 years, 9 months 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 | « gpu/command_buffer/service/test_helper.cc ('k') | mojo/system/dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « gpu/command_buffer/service/test_helper.cc ('k') | mojo/system/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698