summaryrefslogtreecommitdiffstats
path: root/cc/test/pixel_test_software_output_device.cc
blob: a8d986c1203e4e823aeb7eed2cee2d354ef1a300 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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& size) {
  gfx::Size expanded_size(size.width() + surface_expansion_size_.width(),
                          size.height() + surface_expansion_size_.height());
  SoftwareOutputDevice::Resize(expanded_size);
}

}  // namespace cc