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

Unified Diff: cc/program_binding.h

Issue 11196014: Revert "cc: Switch to Chromium DCHECKs LOGs" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « cc/prioritized_texture_unittest.cc ('k') | cc/program_binding.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/program_binding.h
diff --git a/cc/program_binding.h b/cc/program_binding.h
index 3ddc0b4410f4d7981d5ccac9667580ee3e030995..28f628cf3049d7688617fae9e03c44555f0c1a29 100644
--- a/cc/program_binding.h
+++ b/cc/program_binding.h
@@ -7,8 +7,6 @@
#include <string>
-#include "base/logging.h"
-
namespace WebKit {
class WebGraphicsContext3D;
}
@@ -24,7 +22,7 @@ public:
void link(WebKit::WebGraphicsContext3D*);
void cleanup(WebKit::WebGraphicsContext3D*);
- unsigned program() const { DCHECK(m_initialized); return m_program; }
+ unsigned program() const { ASSERT(m_initialized); return m_program; }
bool initialized() const { return m_initialized; }
protected:
@@ -49,9 +47,9 @@ public:
void initialize(WebKit::WebGraphicsContext3D* context, bool usingBindUniform)
{
- DCHECK(context);
- DCHECK(m_program);
- DCHECK(!m_initialized);
+ ASSERT(context);
+ ASSERT(m_program);
+ ASSERT(!m_initialized);
// Need to bind uniforms before linking
if (!usingBindUniform)
« no previous file with comments | « cc/prioritized_texture_unittest.cc ('k') | cc/program_binding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698