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

Unified Diff: chrome/browser/media/webrtc/desktop_media_list_ash_unittest.cc

Issue 2493223002: Change exo::SurfaceFactoryOwner to exo::ExoCompositorFrameSink (Closed)
Patch Set: Override DesktopMediaListAshTest::TearDown() to reset list_ 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
« no previous file with comments | « ash/test/ash_test_helper.cc ('k') | components/exo/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc/desktop_media_list_ash_unittest.cc
diff --git a/chrome/browser/media/webrtc/desktop_media_list_ash_unittest.cc b/chrome/browser/media/webrtc/desktop_media_list_ash_unittest.cc
index 39d98cc18dc2f340623e3740c4bb4f8e0e84f4ec..c8db1f8665e3f17998574cd71d3859d3c2cc8d96 100644
--- a/chrome/browser/media/webrtc/desktop_media_list_ash_unittest.cc
+++ b/chrome/browser/media/webrtc/desktop_media_list_ash_unittest.cc
@@ -38,6 +38,12 @@ class DesktopMediaListAshTest : public ash::test::AshTestBase {
DesktopMediaListAshTest() {}
~DesktopMediaListAshTest() override {}
+ void TearDown() override {
+ // Reset the unique_ptr so the list stops refreshing.
+ list_.reset();
+ ash::test::AshTestBase::TearDown();
+ }
+
void CreateList(int source_types) {
list_.reset(new DesktopMediaListAsh(source_types));
list_->SetThumbnailSize(gfx::Size(kThumbnailSize, kThumbnailSize));
« no previous file with comments | « ash/test/ash_test_helper.cc ('k') | components/exo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698