| Index: content/common/mac/io_surface_manager.cc
|
| diff --git a/content/common/android/surface_texture_manager.cc b/content/common/mac/io_surface_manager.cc
|
| similarity index 52%
|
| copy from content/common/android/surface_texture_manager.cc
|
| copy to content/common/mac/io_surface_manager.cc
|
| index c2cb6eeb98313fc16be49ea8d0c1c92fd9722034..afa2bf60b886526f1da8b3659d1adecc99a55d0d 100644
|
| --- a/content/common/android/surface_texture_manager.cc
|
| +++ b/content/common/mac/io_surface_manager.cc
|
| @@ -1,26 +1,26 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Copyright 2015 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 "content/common/android/surface_texture_manager.h"
|
| +#include "content/common/mac/io_surface_manager.h"
|
|
|
| #include "base/logging.h"
|
|
|
| namespace content {
|
| namespace {
|
|
|
| -SurfaceTextureManager* g_instance = NULL;
|
| +IOSurfaceManager* g_instance = NULL;
|
|
|
| } // namespace
|
|
|
| // static
|
| -SurfaceTextureManager* SurfaceTextureManager::GetInstance() {
|
| +IOSurfaceManager* IOSurfaceManager::GetInstance() {
|
| DCHECK(g_instance);
|
| return g_instance;
|
| }
|
|
|
| // static
|
| -void SurfaceTextureManager::SetInstance(SurfaceTextureManager* instance) {
|
| +void IOSurfaceManager::SetInstance(IOSurfaceManager* instance) {
|
| DCHECK(!g_instance || !instance);
|
| g_instance = instance;
|
| }
|
|
|