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

Unified Diff: cc/test/fake_web_compositor_output_surface.h

Issue 11048044: cc: Switch to Chromium DCHECKs and LOGs (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase 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
Index: cc/test/fake_web_compositor_output_surface.h
diff --git a/cc/test/fake_web_compositor_output_surface.h b/cc/test/fake_web_compositor_output_surface.h
index 179576f54cb09e27e6b772a9252679c9c54eea5d..0fe13b5cdd5a13a8214ce7a67a5db2c6e19f0ff8 100644
--- a/cc/test/fake_web_compositor_output_surface.h
+++ b/cc/test/fake_web_compositor_output_surface.h
@@ -6,6 +6,7 @@
#define FakeWebCompositorOutputSurface_h
#include "base/memory/scoped_ptr.h"
+#include "cc/dcheck.h"
#include "FakeWebCompositorSoftwareOutputDevice.h"
#include <public/WebCompositorOutputSurface.h>
#include <public/WebGraphicsContext3D.h>
@@ -30,7 +31,7 @@ public:
{
if (!m_context3D)
return true;
- ASSERT(client);
+ CC_DCHECK(client);
if (!m_context3D->makeContextCurrent())
return false;
m_client = client;

Powered by Google App Engine
This is Rietveld 408576698