blob: 1a854e9c3471c9867ec1c04df3a6211cbdb26e7b [file] [log] [blame]
// Copyright 2017 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 "public/platform/WebSurfaceLayerBridge.h"
#include <memory>
#include "third_party/WebKit/Source/platform/graphics/SurfaceLayerBridge.h"
namespace blink {
std::unique_ptr<WebSurfaceLayerBridge> WebSurfaceLayerBridge::Create(
WebLayerTreeView* layer_tree_view,
WebSurfaceLayerBridgeObserver* observer) {
return std::make_unique<SurfaceLayerBridge>(layer_tree_view, observer);
}
WebSurfaceLayerBridge::~WebSurfaceLayerBridge() = default;
} // namespace blink