Index: content/common/gpu/gpu_command_buffer_stub.h |
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h |
index 3efa9857a4a3d967ebd889b0847b0191267816d2..7a5454c8e42d052cda34ffe78e4aababc9f4dd47 100644 |
--- a/content/common/gpu/gpu_command_buffer_stub.h |
+++ b/content/common/gpu/gpu_command_buffer_stub.h |
@@ -97,7 +97,6 @@ class GpuCommandBufferStub |
// GpuMemoryManagerClient implementation: |
gfx::Size GetSurfaceSize() const override; |
gpu::gles2::MemoryTracker* GetMemoryTracker() const override; |
- void SetMemoryAllocation(const gpu::MemoryAllocation& allocation) override; |
void SuggestHaveFrontBuffer(bool suggest_have_frontbuffer) override; |
bool GetTotalGpuMemory(uint64* bytes) override; |
@@ -210,8 +209,6 @@ class GpuCommandBufferStub |
void OnSignalSyncPointAck(uint32 id); |
void OnSignalQuery(uint32 query, uint32 id); |
- void OnSetClientHasMemoryAllocationChangedCallback(bool has_callback); |
- |
void OnCreateImage(int32 id, |
gfx::GpuMemoryBufferHandle handle, |
gfx::Size size, |
@@ -270,12 +267,6 @@ class GpuCommandBufferStub |
scoped_ptr<gpu::GpuScheduler> scheduler_; |
scoped_refptr<gfx::GLSurface> surface_; |
- scoped_ptr<GpuMemoryManagerClientState> memory_manager_client_state_; |
- // The last memory allocation received from the GpuMemoryManager (used to |
- // elide redundant work). |
- bool last_memory_allocation_valid_; |
- gpu::MemoryAllocation last_memory_allocation_; |
- |
GpuWatchdog* watchdog_; |
base::ObserverList<DestructionObserver> destruction_observers_; |