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

Unified Diff: content/browser/renderer_host/media/video_capture_manager_unittest.cc

Issue 1909263002: Replace safe-bool idiom with explicit WeakPtr::operator bool() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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: content/browser/renderer_host/media/video_capture_manager_unittest.cc
diff --git a/content/browser/renderer_host/media/video_capture_manager_unittest.cc b/content/browser/renderer_host/media/video_capture_manager_unittest.cc
index 222dc5d0744520b7005245a741b60494ed07260c..ed995b088f5c91c283e6c523979ed1f7b7c03b97 100644
--- a/content/browser/renderer_host/media/video_capture_manager_unittest.cc
+++ b/content/browser/renderer_host/media/video_capture_manager_unittest.cc
@@ -106,7 +106,7 @@ class VideoCaptureManagerTest : public testing::Test {
ASSERT_TRUE(0 == controllers_.count(id));
controllers_[id] = controller.get();
} else {
- ASSERT_TRUE(NULL == controller);
+ ASSERT_FALSE(controller);
}
quit_closure.Run();
}

Powered by Google App Engine
This is Rietveld 408576698