| Index: content/public/browser/android/synchronous_compositor.cc
|
| diff --git a/content/public/browser/android/synchronous_compositor.cc b/content/public/browser/android/synchronous_compositor.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4e52b6130c4a37269f351cdced838b4b55b64d72
|
| --- /dev/null
|
| +++ b/content/public/browser/android/synchronous_compositor.cc
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2016 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 "content/public/browser/android/synchronous_compositor.h"
|
| +
|
| +#include <utility>
|
| +
|
| +#include "cc/output/compositor_frame.h"
|
| +
|
| +namespace content {
|
| +
|
| +SynchronousCompositor::Frame::Frame() : output_surface_id(0u) {}
|
| +
|
| +SynchronousCompositor::Frame::~Frame() {}
|
| +
|
| +SynchronousCompositor::Frame::Frame(Frame&& rhs)
|
| + : output_surface_id(rhs.output_surface_id), frame(std::move(rhs.frame)) {}
|
| +
|
| +SynchronousCompositor::Frame& SynchronousCompositor::Frame::operator=(
|
| + Frame&& rhs) {
|
| + output_surface_id = rhs.output_surface_id;
|
| + frame = std::move(rhs.frame);
|
| + return *this;
|
| +}
|
| +
|
| +} // namespace content
|
|
|