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

Unified Diff: remoting/protocol/host_event_dispatcher.cc

Issue 9827006: Refactor VideoStub interface to accept ownership of video packets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
Index: remoting/protocol/host_event_dispatcher.cc
diff --git a/remoting/protocol/host_event_dispatcher.cc b/remoting/protocol/host_event_dispatcher.cc
index 22cee04c9e434b75dee384652e80d6c609944d4a..b06c6f6772ccf31dc0c6e2b669cce7b0ed575261 100644
--- a/remoting/protocol/host_event_dispatcher.cc
+++ b/remoting/protocol/host_event_dispatcher.cc
@@ -28,7 +28,7 @@ void HostEventDispatcher::OnInitialized() {
}
void HostEventDispatcher::OnMessageReceived(
- EventMessage* message, const base::Closure& done_task) {
+ scoped_ptr<EventMessage> message, const base::Closure& done_task) {
DCHECK(input_stub_);
base::ScopedClosureRunner done_runner(done_task);

Powered by Google App Engine
This is Rietveld 408576698