| Index: cc/output/activation_promise.cc
|
| diff --git a/cc/output/activation_promise.cc b/cc/output/activation_promise.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..63dc017a60e1c21af235428849398ea4a4412c9e
|
| --- /dev/null
|
| +++ b/cc/output/activation_promise.cc
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2015 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/output/activation_promise.h"
|
| +
|
| +namespace cc {
|
| +
|
| +ActivationPromise::~ActivationPromise() {
|
| +}
|
| +
|
| +bool ActivationPromise::OnDidActivate(CompositorFrameMetadata* metadata) {
|
| + DidActivate(metadata);
|
| + return true;
|
| +}
|
| +
|
| +bool ActivationPromise::OnDidNotActivate(Promise::DidNotActivate::Reason reason) {
|
| + DidNotActivate(reason);
|
| + return true;
|
| +}
|
| +
|
| +}
|
|
|