Index: cc/surfaces/surface_factory.cc |
diff --git a/cc/surfaces/surface_factory.cc b/cc/surfaces/surface_factory.cc |
index d17e98ecad71cfc138dde54be8ee9e48ecf4e1d5..94f98fc7c374c40aaf0f347256a3e251dfd2f163 100644 |
--- a/cc/surfaces/surface_factory.cc |
+++ b/cc/surfaces/surface_factory.cc |
@@ -35,11 +35,12 @@ void SurfaceFactory::Destroy(SurfaceId surface_id) { |
} |
void SurfaceFactory::SubmitFrame(SurfaceId surface_id, |
- scoped_ptr<CompositorFrame> frame) { |
+ scoped_ptr<CompositorFrame> frame, |
+ const base::Closure& callback) { |
OwningSurfaceMap::iterator it = surface_map_.find(surface_id); |
DCHECK(it != surface_map_.end()); |
DCHECK(it->second->factory() == this); |
- it->second->QueueFrame(frame.Pass()); |
+ it->second->QueueFrame(frame.Pass(), callback); |
manager_->SurfaceModified(surface_id); |
} |