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

Unified Diff: remoting/client/rectangle_update_decoder.h

Issue 7796026: Pass SessionConfig by reference instead of pointer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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/rectangle_update_decoder.h
diff --git a/remoting/client/rectangle_update_decoder.h b/remoting/client/rectangle_update_decoder.h
index 0fc4ae2d14ef2339dda0d76c3b534fbad1e923bb..7394bd4e40257fba32a17ea4be41d13a62850927 100644
--- a/remoting/client/rectangle_update_decoder.h
+++ b/remoting/client/rectangle_update_decoder.h
@@ -34,7 +34,7 @@ class RectangleUpdateDecoder :
FrameConsumer* consumer);
// Initializes decoder with the infromation from the protocol config.
- void Initialize(const protocol::SessionConfig* config);
+ void Initialize(const protocol::SessionConfig& config);
// Decodes the contents of |packet| calling OnPartialFrameOutput() in the
// regsitered as data is avaialable. DecodePacket may keep a reference to

Powered by Google App Engine
This is Rietveld 408576698