| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 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 "ui/gl/android/surface_factory_webview.h" |
| 6 |
| 7 namespace gfx { |
| 8 |
| 9 namespace { |
| 10 SurfaceFactoryWebView* g_factory_instance; |
| 11 } // namespace |
| 12 |
| 13 SurfaceFactoryWebView::~SurfaceFactoryWebView() {} |
| 14 |
| 15 // static |
| 16 SurfaceFactoryWebView* SurfaceFactoryWebView::GetInstance() { |
| 17 return g_factory_instance; |
| 18 } |
| 19 |
| 20 // static |
| 21 void SurfaceFactoryWebView::SetInstance( |
| 22 SurfaceFactoryWebView* instance) { |
| 23 g_factory_instance = instance; |
| 24 } |
| 25 |
| 26 } // namespace gfx |
| OLD | NEW |