Index: cc/surfaces/surface_factory.cc |
diff --git a/cc/surfaces/surface_factory.cc b/cc/surfaces/surface_factory.cc |
index a45c809cc51312f200ed3c208d096417012a3694..d7f4810d688db85c9474571ce69035f15c796dc5 100644 |
--- a/cc/surfaces/surface_factory.cc |
+++ b/cc/surfaces/surface_factory.cc |
@@ -29,7 +29,6 @@ SurfaceFactory::~SurfaceFactory() { |
<< " entries in map on destruction."; |
} |
DestroyAll(); |
- client_->SetBeginFrameSource(SurfaceId(), nullptr); |
} |
void SurfaceFactory::DestroyAll() { |
@@ -54,11 +53,6 @@ void SurfaceFactory::Destroy(SurfaceId surface_id) { |
manager_->Destroy(std::move(surface)); |
} |
-void SurfaceFactory::SetBeginFrameSource(SurfaceId surface_id, |
- BeginFrameSource* begin_frame_source) { |
- client_->SetBeginFrameSource(surface_id, begin_frame_source); |
-} |
- |
void SurfaceFactory::SubmitCompositorFrame(SurfaceId surface_id, |
scoped_ptr<CompositorFrame> frame, |
const DrawCallback& callback) { |