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

Unified Diff: third_party/WebKit/Source/platform/exported/WebRTCVoidRequest.cpp

Issue 2619343003: Track SDP parse errors for SLD in chrome://webrtc-internals (Closed)
Patch Set: Created 3 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 | « content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/exported/WebRTCVoidRequest.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebRTCVoidRequest.cpp b/third_party/WebKit/Source/platform/exported/WebRTCVoidRequest.cpp
index fe96f8324cc9879ff71d7717e54c1f170dddfaaa..9bd5ebfcc5cf6808a6c22404a5fc1f3206190ae4 100644
--- a/third_party/WebKit/Source/platform/exported/WebRTCVoidRequest.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebRTCVoidRequest.cpp
@@ -47,13 +47,13 @@ void WebRTCVoidRequest::reset() {
}
void WebRTCVoidRequest::requestSucceeded() const {
- ASSERT(m_private.get());
- m_private->requestSucceeded();
+ if (m_private.get())
+ m_private->requestSucceeded();
}
void WebRTCVoidRequest::requestFailed(const WebString& error) const {
- ASSERT(m_private.get());
- m_private->requestFailed(error);
+ if (m_private.get())
+ m_private->requestFailed(error);
}
} // namespace blink
« no previous file with comments | « content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698