| Index: gpu/ipc/common/dialog_surface_lookup.cc
|
| diff --git a/gpu/ipc/common/gpu_surface_lookup.cc b/gpu/ipc/common/dialog_surface_lookup.cc
|
| similarity index 54%
|
| copy from gpu/ipc/common/gpu_surface_lookup.cc
|
| copy to gpu/ipc/common/dialog_surface_lookup.cc
|
| index 6ab1c91c382389d2e18bd382143bcc2b80f8e8b7..eeba62423e9c95597340b7ab24ec11492cf4c191 100644
|
| --- a/gpu/ipc/common/gpu_surface_lookup.cc
|
| +++ b/gpu/ipc/common/dialog_surface_lookup.cc
|
| @@ -1,25 +1,25 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Copyright 2016 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/gpu_surface_lookup.h"
|
| +#include "gpu/ipc/common/dialog_surface_lookup.h"
|
|
|
| #include "base/logging.h"
|
|
|
| namespace gpu {
|
|
|
| namespace {
|
| -GpuSurfaceLookup* g_instance = NULL;
|
| +DialogSurfaceLookup* g_instance = NULL;
|
| } // anonymous namespace
|
|
|
| // static
|
| -GpuSurfaceLookup* GpuSurfaceLookup::GetInstance() {
|
| +DialogSurfaceLookup* DialogSurfaceLookup::GetInstance() {
|
| DCHECK(g_instance);
|
| return g_instance;
|
| }
|
|
|
| // static
|
| -void GpuSurfaceLookup::InitInstance(GpuSurfaceLookup* lookup) {
|
| +void DialogSurfaceLookup::InitInstance(DialogSurfaceLookup* lookup) {
|
| DCHECK(!g_instance || !lookup);
|
| g_instance = lookup;
|
| }
|
|
|