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

Unified Diff: content/renderer/media/webmediaplayer_impl.cc

Issue 195973002: Change DCHECK_IS_ON() to DCHECK_IS_ON (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: content/renderer/media/webmediaplayer_impl.cc
diff --git a/content/renderer/media/webmediaplayer_impl.cc b/content/renderer/media/webmediaplayer_impl.cc
index b7094f6c74259da75fc4b8451584d229647a75dc..25c9e4e752b3889612a673d04e2aae48ee813c63 100644
--- a/content/renderer/media/webmediaplayer_impl.cc
+++ b/content/renderer/media/webmediaplayer_impl.cc
@@ -643,7 +643,7 @@ bool WebMediaPlayerImpl::copyVideoTextureToPlatformTexture(
// avoid it in user builds. As a result assume (below) that |texture| is
// bound when this method is called, and only verify this fact when
// DCHECK_IS_ON.
- if (DCHECK_IS_ON()) {
+ if (DCHECK_IS_ON) {
GLint bound_texture = 0;
web_graphics_context->getIntegerv(GL_TEXTURE_BINDING_2D, &bound_texture);
DCHECK_EQ(static_cast<GLuint>(bound_texture), texture);

Powered by Google App Engine
This is Rietveld 408576698