| 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..c1fa9f37dbc49ffe592ea8df279e71cc79763a4c 100644
|
| --- a/cc/layers/heads_up_display_layer_impl.cc
|
| +++ b/cc/layers/heads_up_display_layer_impl.cc
|
| @@ -94,8 +94,9 @@ 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(),
|
| + ResourceProvider::TextureUsageAny,
|
| + RGBA_8888);
|
| }
|
|
|
| return LayerImpl::WillDraw(draw_mode, resource_provider);
|
|
|