Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: gpu/ipc/common/android/surface_texture_peer.cc

Issue 2420083004: Delete SurfaceTexturePeer (Closed)
Patch Set: Fix missed references Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/ipc/common/android/surface_texture_peer.h ('k') | gpu/ipc/common/gpu_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/android/surface_texture_peer.cc
diff --git a/gpu/ipc/common/android/surface_texture_peer.cc b/gpu/ipc/common/android/surface_texture_peer.cc
deleted file mode 100644
index 397c5ba516503d7b4a8279e4b3e42b7cd72fcfe1..0000000000000000000000000000000000000000
--- a/gpu/ipc/common/android/surface_texture_peer.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2012 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 "gpu/ipc/common/android/surface_texture_peer.h"
-
-#include "base/logging.h"
-
-namespace gpu {
-
-namespace {
-SurfaceTexturePeer* g_instance_ = nullptr;
-} // namespace
-
-SurfaceTexturePeer::SurfaceTexturePeer() {}
-
-SurfaceTexturePeer::~SurfaceTexturePeer() {}
-
-// static
-SurfaceTexturePeer* SurfaceTexturePeer::GetInstance() {
- DCHECK(g_instance_);
- return g_instance_;
-}
-
-// static
-void SurfaceTexturePeer::InitInstance(SurfaceTexturePeer* instance) {
- DCHECK(!g_instance_);
- g_instance_ = instance;
-}
-
-} // namespace gpu
« no previous file with comments | « gpu/ipc/common/android/surface_texture_peer.h ('k') | gpu/ipc/common/gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698