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

Unified Diff: cc/surfaces/surface_factory.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_factory.h ('k') | content/browser/renderer_host/delegated_frame_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_factory.cc
diff --git a/cc/surfaces/surface_factory.cc b/cc/surfaces/surface_factory.cc
index 8e748803ebf205847d0e528d090da2c375f08388..03517c4613cfc79e3a3235bda0f653d583b842fd 100644
--- a/cc/surfaces/surface_factory.cc
+++ b/cc/surfaces/surface_factory.cc
@@ -66,14 +66,6 @@ void SurfaceFactory::SetPreviousFrameSurface(SurfaceId new_id,
}
}
-void SurfaceFactory::SetSurfaceGpuMemoryBufferClientId(
- SurfaceId surface_id,
- int gpu_memory_buffer_client_id) {
- OwningSurfaceMap::iterator it = surface_map_.find(surface_id);
- DCHECK(it != surface_map_.end());
- it->second->SetGpuMemoryBufferClientId(gpu_memory_buffer_client_id);
-}
-
void SurfaceFactory::SubmitCompositorFrame(SurfaceId surface_id,
CompositorFrame frame,
const DrawCallback& callback) {
« no previous file with comments | « cc/surfaces/surface_factory.h ('k') | content/browser/renderer_host/delegated_frame_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698