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

Unified Diff: content/common/gpu/gpu_memory_manager_client.cc

Issue 1420533009: Cleanup GpuMemoryManager and helpers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanup. Created 5 years, 1 month 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 | « content/common/gpu/gpu_memory_manager_client.h ('k') | content/common/gpu/gpu_memory_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_memory_manager_client.cc
diff --git a/content/common/gpu/gpu_memory_manager_client.cc b/content/common/gpu/gpu_memory_manager_client.cc
deleted file mode 100644
index 30d5434a1ff13f2e99021a498ba5d4a87d657699..0000000000000000000000000000000000000000
--- a/content/common/gpu/gpu_memory_manager_client.cc
+++ /dev/null
@@ -1,34 +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 "content/common/gpu/gpu_memory_manager_client.h"
-
-#include "content/common/gpu/gpu_memory_manager.h"
-
-namespace content {
-
-GpuMemoryManagerClientState::GpuMemoryManagerClientState(
- GpuMemoryManager* memory_manager,
- GpuMemoryManagerClient* client,
- GpuMemoryTrackingGroup* tracking_group,
- bool has_surface,
- bool visible)
- : memory_manager_(memory_manager),
- client_(client),
- tracking_group_(tracking_group),
- has_surface_(has_surface),
- visible_(visible),
- list_iterator_valid_(false),
- hibernated_(false) {
-}
-
-GpuMemoryManagerClientState::~GpuMemoryManagerClientState() {
- memory_manager_->OnDestroyClientState(this);
-}
-
-void GpuMemoryManagerClientState::SetVisible(bool visible) {
- memory_manager_->SetClientStateVisible(this, visible);
-}
-
-} // namespace content
« no previous file with comments | « content/common/gpu/gpu_memory_manager_client.h ('k') | content/common/gpu/gpu_memory_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698