OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "android_webview/browser/pixel_buffer_factory_impl.h" |
| 6 |
| 7 #include "android_webview/browser/pixel_buffer_impl.h" |
| 8 |
| 9 namespace android_webview { |
| 10 |
| 11 scoped_ptr<gfx::PixelBuffer> CreatePixelBuffer(gfx::Size size) { |
| 12 scoped_ptr<PixelBufferImpl> result(new PixelBufferImpl(size)); |
| 13 return result.PassAs<gfx::PixelBuffer>(); |
| 14 } |
| 15 |
| 16 } // namespace android_webview |
OLD | NEW |