summaryrefslogtreecommitdiffstats
path: root/android_webview/browser/gpu_memory_buffer_factory_impl.cc
blob: c86042064974e018f8c0d4728db870ed316903d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2013 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 "android_webview/browser/gpu_memory_buffer_factory_impl.h"

#include "android_webview/browser/gpu_memory_buffer_impl.h"

namespace android_webview {

scoped_ptr<gfx::GpuMemoryBuffer> CreateGpuMemoryBuffer(gfx::Size size) {
  scoped_ptr<GpuMemoryBufferImpl> result(new GpuMemoryBufferImpl(size));
  return result.PassAs<gfx::GpuMemoryBuffer>();
}

}  // namespace android_webview