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

Unified Diff: cc/surfaces/surface.cc

Issue 2129523003: Remove more GpuMemoryBufferId plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « cc/surfaces/surface.h ('k') | cc/surfaces/surface_aggregator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface.cc
diff --git a/cc/surfaces/surface.cc b/cc/surfaces/surface.cc
index 706b6738fe8b7caa04b06d035f3ea8c5470590c3..3755d9b8c90b371e46176ed7a195e0ea320cc127 100644
--- a/cc/surfaces/surface.cc
+++ b/cc/surfaces/surface.cc
@@ -44,13 +44,6 @@ void Surface::SetPreviousFrameSurface(Surface* surface) {
previous_frame_surface_id_ = surface->surface_id();
}
-void Surface::SetGpuMemoryBufferClientId(int gpu_memory_buffer_client_id) {
- // This should only be set once.
- DCHECK_EQ(-1, gpu_memory_buffer_client_id_);
- DCHECK_NE(gpu_memory_buffer_client_id, gpu_memory_buffer_client_id_);
- gpu_memory_buffer_client_id_ = gpu_memory_buffer_client_id;
-}
-
void Surface::QueueFrame(CompositorFrame frame, const DrawCallback& callback) {
DCHECK(factory_);
ClearCopyRequests();
« no previous file with comments | « cc/surfaces/surface.h ('k') | cc/surfaces/surface_aggregator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698