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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 15688002: Part 1/3 (compositor) of adding with device scale factor to transport surfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update Android build 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
Index: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index 51d2159f897a06fcc065fe96722494be4f183ba9..f14932b8fa6d9cffd17ce01bdce3512a25356253 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -48,7 +48,7 @@ class DirectOutputSurface : public cc::OutputSurface {
DirectOutputSurface(scoped_ptr<WebKit::WebGraphicsContext3D> context3d)
: cc::OutputSurface(context3d.Pass()) {}
- virtual void Reshape(gfx::Size size) OVERRIDE {}
+ virtual void Reshape(gfx::Size size, float scale_factor) OVERRIDE {}
virtual void PostSubBuffer(gfx::Rect rect, const cc::LatencyInfo&) OVERRIDE {}
virtual void SwapBuffers(const cc::LatencyInfo&) OVERRIDE {
context3d()->shallowFlushCHROMIUM();
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698