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

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: if() -> #if 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
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;
Nico 2014/03/12 21:16:42 (This removal was explained here: https://coderevi
-#else
options.bind_generates_resource = true;
-#endif
gl1_.Initialize(options);
options.share_group_manager = &gl1_;
gl2_.Initialize(options);

Powered by Google App Engine
This is Rietveld 408576698