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

Unified Diff: remoting/codec/video_decoder_vp8_unittest.cc

Issue 13983010: Use webrtc::DesktopCapturer for screen capturer implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/codec/codec_test.cc ('k') | remoting/codec/video_encoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/codec/video_decoder_vp8_unittest.cc
diff --git a/remoting/codec/video_decoder_vp8_unittest.cc b/remoting/codec/video_decoder_vp8_unittest.cc
index d8d36f0a18866b8963c595f909103b6e34f6eef7..64d30df1e83f901bee4b07d329d2feba527effcc 100644
--- a/remoting/codec/video_decoder_vp8_unittest.cc
+++ b/remoting/codec/video_decoder_vp8_unittest.cc
@@ -8,6 +8,7 @@
#include "remoting/codec/codec_test.h"
#include "remoting/codec/video_encoder_vp8.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
namespace remoting {
@@ -19,10 +20,11 @@ class VideoDecoderVp8Test : public testing::Test {
void TestGradient(int screen_width, int screen_height,
int view_width, int view_height,
double max_error_limit, double mean_error_limit) {
- TestVideoEncoderDecoderGradient(&encoder_, &decoder_,
- SkISize::Make(screen_width, screen_height),
- SkISize::Make(view_width, view_height),
- max_error_limit, mean_error_limit);
+ TestVideoEncoderDecoderGradient(
+ &encoder_, &decoder_,
+ webrtc::DesktopSize(screen_width, screen_height),
+ webrtc::DesktopSize(view_width, view_height),
+ max_error_limit, mean_error_limit);
}
};
« no previous file with comments | « remoting/codec/codec_test.cc ('k') | remoting/codec/video_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698