Chromium Code Reviews| Index: cc/layers/heads_up_display_layer_impl.cc |
| diff --git a/cc/layers/heads_up_display_layer_impl.cc b/cc/layers/heads_up_display_layer_impl.cc |
| index f8ab6aee3895ab2e87f13d48f25abc4896e14686..a8c3b736ed517540e260880e51eb6cd48d860f5a 100644 |
| --- a/cc/layers/heads_up_display_layer_impl.cc |
| +++ b/cc/layers/heads_up_display_layer_impl.cc |
| @@ -170,11 +170,6 @@ void HeadsUpDisplayLayerImpl::DidDraw(ResourceProvider* resource_provider) { |
| if (!hud_resource_->id()) |
| return; |
| - |
| - // FIXME: the following assert will not be true when sending resources to a |
| - // parent compositor. We will probably need to hold on to hud_resource_ for |
| - // longer, and have several HUD textures in the pipeline. |
| - DCHECK(!resource_provider->InUseByConsumer(hud_resource_->id())); |
| } |
|
piman
2013/05/08 19:24:36
Looks like this function doesn't do anything anymo
danakj
2013/05/08 23:43:47
Done.
|
| void HeadsUpDisplayLayerImpl::DidLoseOutputSurface() { hud_resource_.reset(); } |