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

Unified Diff: Source/modules/mediastream/MediaDevicesRequest.cpp

Issue 791033003: Tidy up UserMediaController references from mediastream request objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix non-Oilpan compilation Created 6 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 | « Source/modules/mediastream/MediaDevicesRequest.h ('k') | Source/modules/mediastream/UserMediaController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/MediaDevicesRequest.cpp
diff --git a/Source/modules/mediastream/MediaDevicesRequest.cpp b/Source/modules/mediastream/MediaDevicesRequest.cpp
index cc436abeab88f6e2df5d999c482ef5434e839597..def9d23f3cf6170e7fdbf4c67ef42fca4c600b11 100644
--- a/Source/modules/mediastream/MediaDevicesRequest.cpp
+++ b/Source/modules/mediastream/MediaDevicesRequest.cpp
@@ -77,11 +77,12 @@ void MediaDevicesRequest::succeed(const MediaDeviceInfoVector& mediaDevices)
void MediaDevicesRequest::stop()
{
m_callback.clear();
- m_controller = 0;
+ m_controller.clear();
}
void MediaDevicesRequest::trace(Visitor* visitor)
{
+ visitor->trace(m_controller);
visitor->trace(m_callback);
}
« no previous file with comments | « Source/modules/mediastream/MediaDevicesRequest.h ('k') | Source/modules/mediastream/UserMediaController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698