Index: cc/output/swap_promise.cc |
diff --git a/cc/output/swap_promise.cc b/cc/output/swap_promise.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..069f9e557fe3ea0e18dda74eefdcfdcacd766beb |
--- /dev/null |
+++ b/cc/output/swap_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/swap_promise.h" |
+ |
+namespace cc { |
+ |
+SwapPromise::~SwapPromise() { |
+} |
+ |
+bool SwapPromise::OnDidSwap(CompositorFrameMetadata* metadata) { |
+ DidSwap(metadata); |
+ return true; |
+} |
+ |
+bool SwapPromise::OnDidNotSwap(Promise::DidNotSwap::Reason reason) { |
+ DidNotSwap(reason); |
+ return true; |
+} |
+ |
+} |