root/cc/test/pixel_test_software_output_device.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. Resize

// 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

/* [<][>][^][v][top][bottom][index][help] */