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

Unified Diff: remoting/client/x11_view.cc

Issue 3176023: Change Chromoting X11 client default decoder to Zlib. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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/client/x11_view.cc
diff --git a/remoting/client/x11_view.cc b/remoting/client/x11_view.cc
index ef3116b69718f407badb0885be963680c0b77bc0..b733d931896881c6dedff386bc79697343a730c6 100644
--- a/remoting/client/x11_view.cc
+++ b/remoting/client/x11_view.cc
@@ -11,6 +11,7 @@
#include "base/logging.h"
#include "remoting/base/decoder_verbatim.h"
+#include "remoting/base/decoder_zlib.h"
namespace remoting {
@@ -174,7 +175,7 @@ void X11View::HandleBeginUpdateStream(HostMessage* msg) {
// TODO(hclam): Use the information from the message to create the decoder.
// We lazily construct the decoder.
if (!decoder_.get()) {
- decoder_.reset(new DecoderVerbatim());
+ decoder_.reset(new DecoderZlib());
}
// Tell the decoder to do start decoding.
« 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