| Index: cc/picture.cc
|
| diff --git a/cc/picture.cc b/cc/picture.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e4a4ec0d4f854624718b263e894e0f445ca65869
|
| --- /dev/null
|
| +++ b/cc/picture.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.h"
|
| +
|
| +namespace cc {
|
| +
|
| +Picture::Picture() {
|
| +}
|
| +
|
| +Picture::~Picture() {
|
| +}
|
| +
|
| +void Picture::invalidate(gfx::Rect rect) {
|
| + // TODO(enne)
|
| +}
|
| +
|
| +void Picture::resize(gfx::Size size) {
|
| + // TODO(enne)
|
| +}
|
| +
|
| +void Picture::update(ContentLayerClient* painter) {
|
| + // TODO(enne)
|
| +}
|
| +
|
| +void Picture::pushPropertiesTo(Picture& 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
|
|
|