| Index: cc/picture_pile.cc
|
| diff --git a/cc/picture_pile.cc b/cc/picture_pile.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a33147b09a09773fd36f325609e666d98237b701
|
| --- /dev/null
|
| +++ b/cc/picture_pile.cc
|
| @@ -0,0 +1,36 @@
|
| +// Copyright 2012 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 "config.h"
|
| +
|
| +#include "cc/picture_pile.h"
|
| +
|
| +namespace cc {
|
| +
|
| +PicturePile::PicturePile() {
|
| +}
|
| +
|
| +PicturePile::~PicturePile() {
|
| +}
|
| +
|
| +void PicturePile::invalidate(gfx::Rect rect) {
|
| + // TODO(enne)
|
| +}
|
| +
|
| +void PicturePile::resize(gfx::Size size) {
|
| + // TODO(enne)
|
| +}
|
| +
|
| +void PicturePile::update(ContentLayerClient* painter) {
|
| + // TODO(enne)
|
| +}
|
| +
|
| +void PicturePile::pushPropertiesTo(PicturePile& other) {
|
| + other.size_ = size_;
|
| + other.pile_.resize(pile_.size());
|
| + for (size_t i = 0; i < pile_.size(); ++i)
|
| + other.pile_[i] = pile_[i];
|
| +}
|
| +
|
| +} // namespace cc
|
|
|