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

Unified Diff: cc/test/pixel_test.cc

Issue 15579002: Implement transform/clip support for Android WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Antoine's code review comments Created 7 years, 6 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: cc/test/pixel_test.cc
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc
index 0885c76bf77ed565142eec5500cc3ff5f7cdfbd8..45ecfd069148d6dfc6ce00061295092688944b5c 100644
--- a/cc/test/pixel_test.cc
+++ b/cc/test/pixel_test.cc
@@ -27,8 +27,8 @@ class PixelTest::PixelTestRendererClient : public RendererClient {
: device_viewport_size_(device_viewport_size) {}
// RendererClient implementation.
- virtual gfx::Size DeviceViewportSize() const OVERRIDE {
- return device_viewport_size_;
+ virtual gfx::Rect DeviceViewport() const OVERRIDE {
+ return gfx::Rect(device_viewport_size_);
}
virtual float DeviceScaleFactor() const OVERRIDE {
return 1.f;

Powered by Google App Engine
This is Rietveld 408576698