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 8728d704ca4bd4287ffb5f357a5455a3826c31dd..aeca327f176e4f7a9440aa9e6bf9d03825d68083 100644 |
| --- a/cc/layers/heads_up_display_layer_impl.cc |
| +++ b/cc/layers/heads_up_display_layer_impl.cc |
| @@ -94,8 +94,10 @@ bool HeadsUpDisplayLayerImpl::WillDraw(DrawMode draw_mode, |
| hud_resource_->Free(); |
| if (!hud_resource_->id()) { |
| - hud_resource_->Allocate( |
| - content_bounds(), GL_RGBA, ResourceProvider::TextureUsageAny); |
| + hud_resource_->Allocate(content_bounds(), |
| + GL_RGBA, |
|
epennerAtGoogle
2013/09/11 19:21:04
Isn't this redundant, with RGBA_8888 being specifi
kaanb
2013/09/12 07:53:44
Done.
|
| + ResourceProvider::TextureUsageAny, |
| + ResourceProvider::RGBA_8888); |
| } |
| return LayerImpl::WillDraw(draw_mode, resource_provider); |