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

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

Issue 2525483005: Remove SurfaceTextureManager (Closed)
Patch Set: Fix link error Created 4 years 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_manager.h ('k') | gpu/ipc/common/gpu_surface_tracker.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_manager.cc
diff --git a/gpu/ipc/common/android/surface_texture_manager.cc b/gpu/ipc/common/android/surface_texture_manager.cc
deleted file mode 100644
index 22b27d03fb1f0ff60e7d9461cf99e36dcd383951..0000000000000000000000000000000000000000
--- a/gpu/ipc/common/android/surface_texture_manager.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 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_manager.h"
-
-#include "base/logging.h"
-
-namespace gpu {
-namespace {
-
-SurfaceTextureManager* g_instance = nullptr;
-
-} // namespace
-
-// static
-SurfaceTextureManager* SurfaceTextureManager::GetInstance() {
- DCHECK(g_instance);
- return g_instance;
-}
-
-// static
-void SurfaceTextureManager::SetInstance(SurfaceTextureManager* instance) {
- DCHECK(!g_instance || !instance);
- g_instance = instance;
-}
-
-} // namespace gpu
« no previous file with comments | « gpu/ipc/common/android/surface_texture_manager.h ('k') | gpu/ipc/common/gpu_surface_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698