Index: cc/surfaces/surface_factory.cc |
diff --git a/cc/surfaces/surface_factory.cc b/cc/surfaces/surface_factory.cc |
index fd5a6d493ca2eedd3bf076b106186321740ac714..7af7cb7dc6312ceef566a6b8b38613941883627a 100644 |
--- a/cc/surfaces/surface_factory.cc |
+++ b/cc/surfaces/surface_factory.cc |
@@ -46,7 +46,7 @@ void SurfaceFactory::Destroy(SurfaceId surface_id) { |
void SurfaceFactory::SubmitFrame(SurfaceId surface_id, |
scoped_ptr<CompositorFrame> frame, |
- const base::Closure& callback) { |
+ const DrawCallback& callback) { |
OwningSurfaceMap::iterator it = surface_map_.find(surface_id); |
DCHECK(it != surface_map_.end()); |
DCHECK(it->second->factory().get() == this); |