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

Unified Diff: remoting/client/gl_desktop.h

Issue 2196493002: [Chromoting] Unit Tests for GlRenderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add unittest Created 4 years, 5 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/client/gl_desktop.h
diff --git a/remoting/client/gl_desktop.h b/remoting/client/gl_desktop.h
index ca7a5ee69a2993de608a40fe0cf89da2350f4b49..05962618d7a10a24918ba938bf6803a6ef94a4d5 100644
--- a/remoting/client/gl_desktop.h
+++ b/remoting/client/gl_desktop.h
@@ -26,7 +26,7 @@ class GlDesktop {
virtual ~GlDesktop();
// |frame| can be either a full frame or updated regions only frame.
- void SetVideoFrame(std::unique_ptr<webrtc::DesktopFrame> frame);
+ void SetVideoFrame(const webrtc::DesktopFrame& frame);
Yuwei 2016/07/29 00:07:02 Changed this to const ref since GlDesktop no longe
// Sets the canvas on which the desktop will be drawn. Caller must feed a
// full desktop frame after calling this function.

Powered by Google App Engine
This is Rietveld 408576698