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

Unified Diff: remoting/host/desktop_session_agent.cc

Issue 1630953003: Remove invalid CHECK() from DesktopSessionAgent::OnCaptureCompleted. (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/host/desktop_session_agent.cc
diff --git a/remoting/host/desktop_session_agent.cc b/remoting/host/desktop_session_agent.cc
index ed788de67e82e4b1fb0b233cb4d0391e6300c41a..538952f5d6fe363c709d3fa215376b30d90b380e 100644
--- a/remoting/host/desktop_session_agent.cc
+++ b/remoting/host/desktop_session_agent.cc
@@ -316,9 +316,6 @@ void DesktopSessionAgent::OnCaptureCompleted(webrtc::DesktopFrame* frame) {
current_size_ = frame->size();
- // Verify that the captured frame was stored in the shared memory buffer.
- CHECK(frame->data() == frame->shared_memory()->data());
-
// Serialize webrtc::DesktopFrame.
SerializedDesktopFrame serialized_frame;
serialized_frame.shared_buffer_id = frame->shared_memory()->id();
« 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