| Index: cc/test/pixel_test_software_output_device.cc
|
| diff --git a/cc/test/pixel_test_software_output_device.cc b/cc/test/pixel_test_software_output_device.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6d049acc57ae7da31d272c3f798104de9159ea1d
|
| --- /dev/null
|
| +++ b/cc/test/pixel_test_software_output_device.cc
|
| @@ -0,0 +1,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
|
|
|