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

Unified Diff: cc/test/FakeWebCompositorSoftwareOutputDevice.h

Issue 11048044: cc: Switch to Chromium DCHECKs and LOGs (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
« cc/CCCompletionEvent.h ('K') | « cc/test/FakeWebCompositorOutputSurface.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/FakeWebCompositorSoftwareOutputDevice.h
diff --git a/cc/test/FakeWebCompositorSoftwareOutputDevice.h b/cc/test/FakeWebCompositorSoftwareOutputDevice.h
index 6a17e6871c97683dd04b348a9260b6a972f2c0d4..5ecda8fd3f66dce9187568f063b64930fedf6a16 100644
--- a/cc/test/FakeWebCompositorSoftwareOutputDevice.h
+++ b/cc/test/FakeWebCompositorSoftwareOutputDevice.h
@@ -5,6 +5,7 @@
#ifndef FakeWebCompositorSoftwareOutputDevice_h
#define FakeWebCompositorSoftwareOutputDevice_h
+#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "SkDevice.h"
#include <public/WebCompositorSoftwareOutputDevice.h>
@@ -17,7 +18,7 @@ class FakeWebCompositorSoftwareOutputDevice : public WebCompositorSoftwareOutput
public:
virtual WebImage* lock(bool forWrite) OVERRIDE
{
- ASSERT(m_device.get());
+ DCHECK(m_device.get());
m_image = m_device->accessBitmap(forWrite);
return &m_image;
}
« cc/CCCompletionEvent.h ('K') | « cc/test/FakeWebCompositorOutputSurface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698