| Index: cc/resources/video_resource_updater.cc
|
| diff --git a/cc/resources/video_resource_updater.cc b/cc/resources/video_resource_updater.cc
|
| index d113e8bf5d5196527433f7b65964e6c52454bd0c..6e4dcd933b9cbe9774b3df6f918194cec3b8e09f 100644
|
| --- a/cc/resources/video_resource_updater.cc
|
| +++ b/cc/resources/video_resource_updater.cc
|
| @@ -193,11 +193,11 @@ VideoFrameExternalResources VideoResourceUpdater::CreateForSoftwarePlanes(
|
| if (resource_id == 0) {
|
| // TODO(danakj): Abstract out hw/sw resource create/delete from
|
| // ResourceProvider and stop using ResourceProvider in this class.
|
| - resource_id =
|
| - resource_provider_->CreateResource(output_plane_resource_size,
|
| - GL_CLAMP_TO_EDGE,
|
| - ResourceProvider::TextureUsageAny,
|
| - output_resource_format);
|
| + resource_id = resource_provider_->CreateResource(
|
| + output_plane_resource_size,
|
| + GL_CLAMP_TO_EDGE,
|
| + ResourceProvider::TextureHintImmutable,
|
| + output_resource_format);
|
|
|
| DCHECK(mailbox.IsZero());
|
|
|
|
|