Index: components/viz/service/display/surface_aggregator.cc |
diff --git a/components/viz/service/display/surface_aggregator.cc b/components/viz/service/display/surface_aggregator.cc |
index 4e1698d47613c5f605bad661703a0f3dbd279538..7cd0fec9af8343ed74f02f961342c7d694989e31 100644 |
--- a/components/viz/service/display/surface_aggregator.cc |
+++ b/components/viz/service/display/surface_aggregator.cc |
@@ -822,7 +822,7 @@ void SurfaceAggregator::PropagateCopyRequestPasses() { |
std::vector<cc::RenderPassId> copy_requests_to_iterate( |
copy_request_passes_.begin(), copy_request_passes_.end()); |
while (!copy_requests_to_iterate.empty()) { |
- int first = copy_requests_to_iterate.back(); |
+ cc::RenderPassId first = copy_requests_to_iterate.back(); |
copy_requests_to_iterate.pop_back(); |
auto it = render_pass_dependencies_.find(first); |
if (it == render_pass_dependencies_.end()) |