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

Unified Diff: media/video/capture/video_capture_types.cc

Issue 546043003: Remove an useless ifndef NDEBUG in video_capture_types.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/capture/video_capture_types.cc
diff --git a/media/video/capture/video_capture_types.cc b/media/video/capture/video_capture_types.cc
index 066794f61bfe975455ed14099b786ebbe39d4b02..39ca75527ed7a7a9eb220a09dc8476aa1c411cd4 100644
--- a/media/video/capture/video_capture_types.cc
+++ b/media/video/capture/video_capture_types.cc
@@ -31,14 +31,12 @@ bool VideoCaptureFormat::IsValid() const {
(pixel_format < PIXEL_FORMAT_MAX);
}
-#if !defined(NDEBUG)
std::string VideoCaptureFormat::ToString() const {
return base::StringPrintf("resolution: %s, fps: %f, pixel format: %s",
frame_size.ToString().c_str(),
frame_rate,
PixelFormatToString(pixel_format).c_str());
}
-#endif
std::string VideoCaptureFormat::PixelFormatToString(VideoPixelFormat format) {
switch (format) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698