Commit 92d6cbee authored by Dave Tapuska's avatar Dave Tapuska Committed by Commit Bot

Fix shadowed variables in the content layer.

Shadowed variables can make code harder to read. Don't support them
in the content layer.

BUG=794619

This CL was uploaded by git cl split.

R=fsamuel@chromium.org

Change-Id: Id33101d8feb26d33e4b3c8301bfb496bd9535298
Reviewed-on: https://chromium-review.googlesource.com/924163Reviewed-by: default avatarFady Samuel <fsamuel@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537673}
parent 7ff99e08
......@@ -420,7 +420,6 @@ void DelegatedFrameHost::SubmitCompositorFrame(
skipped_frames_ = false;
// Give the same damage rect to the compositor.
viz::RenderPass* root_pass = frame.render_pass_list.back().get();
root_pass->damage_rect = gfx::Rect(frame_size);
}
......
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