// 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.
GPUCanvas::~GPUCanvas()=default;std::unique_ptr<GPUCanvas>GPUCanvas::CreatePlatformCanvas(constPlatformView&platform_view){std::unique_ptr<GPUCanvas>canvas;// TODO: Vulkan capability detection will be added here to return a differnt// canvas instance.canvas.reset(newGPUCanvasGL(platform_view.DefaultFramebuffer()));returncanvas;}