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

Unified Diff: remoting/protocol/webrtc_video_stream.cc

Issue 1578253004: Fix a typo in WebrtcVideoStream::Start() which causes the host to crash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_video_stream.cc
diff --git a/remoting/protocol/webrtc_video_stream.cc b/remoting/protocol/webrtc_video_stream.cc
index 0b7e8621882e728a35c8561c92336d4e977e4270..07e215e5ec5a65a9aca32c95e963ab8a4acc1a22 100644
--- a/remoting/protocol/webrtc_video_stream.cc
+++ b/remoting/protocol/webrtc_video_stream.cc
@@ -41,7 +41,7 @@ bool WebrtcVideoStream::Start(
peer_connection_factory) {
scoped_ptr<WebrtcVideoCapturerAdapter> capturer_adapter(
new WebrtcVideoCapturerAdapter(std::move(desktop_capturer)));
- capturer_adapter_ = capturer_adapter_->GetWeakPtr();
+ capturer_adapter_ = capturer_adapter->GetWeakPtr();
connection_ = connection;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698