Commit f589909e authored by Takuto Ikuta's avatar Takuto Ikuta Committed by Commit Bot

Fix for unused-lambda-capture warning

This CL is part of
https://chromium-review.googlesource.com/c/chromium/src/+/1286017

This CL was uploaded by git cl split.

R=zmo@chromium.org

Bug: 681136
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: I05d68bcadcd0b152962ae6828fc8af66687e46d3
Reviewed-on: https://chromium-review.googlesource.com/c/1288510Reviewed-by: default avatarZhenyao Mo <zmo@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#600981}
parent def72e78
...@@ -177,7 +177,7 @@ void PassthroughResources::Destroy(gl::GLApi* api) { ...@@ -177,7 +177,7 @@ void PassthroughResources::Destroy(gl::GLApi* api) {
if (!have_context) { if (!have_context) {
texture_object_map.ForEach( texture_object_map.ForEach(
[api](GLuint client_id, scoped_refptr<TexturePassthrough> texture) { [](GLuint client_id, scoped_refptr<TexturePassthrough> texture) {
texture->MarkContextLost(); texture->MarkContextLost();
}); });
for (const auto& pair : texture_shared_image_map) { for (const auto& pair : texture_shared_image_map) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment