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

Unified Diff: cc/output/software_output_device.cc

Issue 2399983003: cc: Make OutputSurface::Reshape abstract (Closed)
Patch Set: reshapeabstract: . Created 4 years, 2 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 | « cc/output/software_output_device.h ('k') | cc/test/fake_output_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/software_output_device.cc
diff --git a/cc/output/software_output_device.cc b/cc/output/software_output_device.cc
index 449fa3075cbdf8a2fcf75a38ef5de09fd481bc50..04a426a12eac4ee497192ebb17ce36ef07f898a3 100644
--- a/cc/output/software_output_device.cc
+++ b/cc/output/software_output_device.cc
@@ -10,15 +10,11 @@
namespace cc {
-SoftwareOutputDevice::SoftwareOutputDevice() : scale_factor_(1.f) {
-}
-
-SoftwareOutputDevice::~SoftwareOutputDevice() {}
+SoftwareOutputDevice::SoftwareOutputDevice() = default;
+SoftwareOutputDevice::~SoftwareOutputDevice() = default;
void SoftwareOutputDevice::Resize(const gfx::Size& viewport_pixel_size,
float scale_factor) {
- scale_factor_ = scale_factor;
-
if (viewport_pixel_size_ == viewport_pixel_size)
return;
« no previous file with comments | « cc/output/software_output_device.h ('k') | cc/test/fake_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698