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

Unified Diff: talk/media/base/videorenderer.h

Issue 1419733004: talk: Use NDEBUG macro. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: review Created 5 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 | « talk/media/base/videoframe_unittest.h ('k') | talk/session/media/srtpfilter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/videorenderer.h
diff --git a/talk/media/base/videorenderer.h b/talk/media/base/videorenderer.h
index 118942eaabb6b08a5210a02cd1231d0d05f5021f..0a0ee5181712596e2afe1463efef9b6e356b0515 100644
--- a/talk/media/base/videorenderer.h
+++ b/talk/media/base/videorenderer.h
@@ -28,9 +28,9 @@
#ifndef TALK_MEDIA_BASE_VIDEORENDERER_H_
#define TALK_MEDIA_BASE_VIDEORENDERER_H_
-#ifdef _DEBUG
+#if !defined(NDEBUG)
#include <string>
-#endif // _DEBUG
+#endif
#include "webrtc/base/sigslot.h"
@@ -50,10 +50,10 @@ class VideoRenderer {
// Called when a new frame is available for display.
virtual bool RenderFrame(const VideoFrame *frame) = 0;
-#ifdef _DEBUG
+#if !defined(NDEBUG)
// Allow renderer dumping out rendered frames.
virtual bool SetDumpPath(const std::string &path) { return true; }
-#endif // _DEBUG
+#endif
};
} // namespace cricket
« no previous file with comments | « talk/media/base/videoframe_unittest.h ('k') | talk/session/media/srtpfilter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698