blob: 6d049acc57ae7da31d272c3f798104de9159ea1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/test/pixel_test_software_output_device.h"
namespace cc {
void PixelTestSoftwareOutputDevice::Resize(const gfx::Size& pixel_size,
float scale_factor) {
gfx::Size expanded_size(
pixel_size.width() + surface_expansion_size_.width(),
pixel_size.height() + surface_expansion_size_.height());
SoftwareOutputDevice::Resize(expanded_size, scale_factor);
}
} // namespace cc
|