1 // Copyright (c) 2012 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.
5 #include "content/common/android/surface_texture_peer.h"
7 #include "base/logging.h"
12 SurfaceTexturePeer* g_instance_ = NULL;
15 SurfaceTexturePeer::SurfaceTexturePeer() {
18 SurfaceTexturePeer::~SurfaceTexturePeer() {
22 SurfaceTexturePeer* SurfaceTexturePeer::GetInstance() {
28 void SurfaceTexturePeer::InitInstance(SurfaceTexturePeer* instance) {
30 g_instance_ = instance;
33 } // namespace content