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

Unified Diff: media/capture/content/animated_content_sampler_unittest.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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: media/capture/content/animated_content_sampler_unittest.cc
diff --git a/media/capture/content/animated_content_sampler_unittest.cc b/media/capture/content/animated_content_sampler_unittest.cc
index 1a8766cd2f454bc4f7a19f63ecb94b7a6c96d23e..b040cbbcc3c923185365ed109c976140c8ee3ae2 100644
--- a/media/capture/content/animated_content_sampler_unittest.cc
+++ b/media/capture/content/animated_content_sampler_unittest.cc
@@ -224,8 +224,8 @@ struct Scenario {
: vsync_interval(FpsAsPeriod(compositor_frequency)),
min_capture_period(FpsAsPeriod(max_frame_rate)),
content_period(FpsAsPeriod(content_frame_rate)) {
- CHECK(content_period >= vsync_interval)
- << "Bad test params: Impossible to animate faster than the compositor.";
+ // Bad test params: Impossible to animate faster than the compositor.
+ CHECK(content_period >= vsync_interval);
}
Scenario(int compositor_frequency,
@@ -236,8 +236,8 @@ struct Scenario {
min_capture_period(FpsAsPeriod(max_frame_rate)),
content_period(FpsAsPeriod(content_frame_rate)),
target_sampling_period(FpsAsPeriod(target_sampling_rate)) {
- CHECK(content_period >= vsync_interval)
- << "Bad test params: Impossible to animate faster than the compositor.";
+ // Bad test params: Impossible to animate faster than the compositor.
+ CHECK(content_period >= vsync_interval);
}
};

Powered by Google App Engine
This is Rietveld 408576698