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

Unified Diff: remoting/client/plugin/pepper_view.cc

Issue 3034035: [chromoting] Use zlib as the default encoder and decoder (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 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
« no previous file with comments | « remoting/base/decoder_zlib.cc ('k') | remoting/host/simple_host_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_view.cc
diff --git a/remoting/client/plugin/pepper_view.cc b/remoting/client/plugin/pepper_view.cc
index 5b96226c60e5db3352959c325aa38f7bd61797f4..c2f353848b78d97e2f173bddfc176ba4ae7fe6d4 100644
--- a/remoting/client/plugin/pepper_view.cc
+++ b/remoting/client/plugin/pepper_view.cc
@@ -5,7 +5,7 @@
#include "remoting/client/plugin/pepper_view.h"
#include "base/message_loop.h"
-#include "remoting/base/decoder_verbatim.h"
+#include "remoting/base/decoder_zlib.h"
#include "remoting/client/plugin/chromoting_plugin.h"
#include "remoting/client/plugin/pepper_util.h"
#include "third_party/ppapi/cpp/device_context_2d.h"
@@ -150,7 +150,7 @@ void PepperView::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());
}
if (!frame_) {
« no previous file with comments | « remoting/base/decoder_zlib.cc ('k') | remoting/host/simple_host_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698