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

Unified Diff: cc/output/output_surface.cc

Issue 297573003: Make delegated software renderer work on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebas Created 6 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 | « no previous file | cc/output/software_output_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface.cc
diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc
index 0f68b5b048d749842289dd6aac531dad516bbeda..80def54b805ac67e507f4a7ff2c606e0dbddd9a3 100644
--- a/cc/output/output_surface.cc
+++ b/cc/output/output_surface.cc
@@ -226,7 +226,7 @@ void OutputSurface::Reshape(const gfx::Size& size, float scale_factor) {
size.width(), size.height(), scale_factor);
}
if (software_device_)
- software_device_->Resize(size);
+ software_device_->Resize(size, scale_factor);
}
gfx::Size OutputSurface::SurfaceSize() const {
« no previous file with comments | « no previous file | cc/output/software_output_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698