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

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

Issue 342483007: Removed ManagedMemoryStats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « content/common/gpu/gpu_memory_manager_client.cc ('k') | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_memory_manager_unittest.cc
diff --git a/content/common/gpu/gpu_memory_manager_unittest.cc b/content/common/gpu/gpu_memory_manager_unittest.cc
index 42c394135d807b69b3110144d96dd3c48d460f62..cf9e7cfffe98a92f3e1bb0e7b0a25d318fc92db5 100644
--- a/content/common/gpu/gpu_memory_manager_unittest.cc
+++ b/content/common/gpu/gpu_memory_manager_unittest.cc
@@ -11,7 +11,6 @@
#include "testing/gtest/include/gtest/gtest.h"
using gpu::MemoryAllocation;
-using gpu::ManagedMemoryStats;
#if defined(COMPILER_GCC)
namespace BASE_HASH_NAMESPACE {
@@ -150,10 +149,6 @@ class FakeClient : public GpuMemoryManagerClient {
client_state_->SetVisible(visible);
}
- void SetManagedMemoryStats(const ManagedMemoryStats& stats) {
- client_state_->SetManagedMemoryStats(stats);
- }
-
uint64 BytesWhenVisible() const {
return allocation_.bytes_limit_when_visible;
}
@@ -206,14 +201,6 @@ class GpuMemoryManagerTest : public testing::Test {
memmgr_.Manage();
}
- void SetClientStats(
- FakeClient* client,
- uint64 required,
- uint64 nicetohave) {
- client->SetManagedMemoryStats(
- ManagedMemoryStats(required, nicetohave, 0, false));
- }
-
GpuMemoryManager memmgr_;
};
« no previous file with comments | « content/common/gpu/gpu_memory_manager_client.cc ('k') | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698