Index: extensions/browser/api/display_source/display_source_event_router.cc |
diff --git a/extensions/browser/api/display_source/display_source_event_router.cc b/extensions/browser/api/display_source/display_source_event_router.cc |
index db6f9ab3f199611240a6fadebdcf283cf6612dce..e93665fa4b1e6520c08673a838b7e913e44ccf4f 100644 |
--- a/extensions/browser/api/display_source/display_source_event_router.cc |
+++ b/extensions/browser/api/display_source/display_source_event_router.cc |
@@ -63,7 +63,7 @@ void DisplaySourceEventRouter::StartOrStopListeningForSinksChanges() { |
browser_context_); |
if (delegate) { |
delegate->AddObserver(this); |
- delegate->StartWatchingSinks(); |
+ delegate->StartWatchingAvailableSinks(); |
} |
} |
if (!should_listen && listening_) { |
@@ -72,7 +72,7 @@ void DisplaySourceEventRouter::StartOrStopListeningForSinksChanges() { |
browser_context_); |
if (delegate) { |
delegate->RemoveObserver(this); |
- delegate->StopWatchingSinks(); |
+ delegate->StopWatchingAvailableSinks(); |
} |
} |