Commit 4ac985ea authored by ericrk's avatar ericrk Committed by Commit bot

Fix uninitialized var in DirectRenderer

|visible_| was not initialized, leading to test flakes. Initializing
to false.

TBR=danakj@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel

Review-Url: https://codereview.chromium.org/2256903002
Cr-Commit-Position: refs/heads/master@{#412706}
parent 3da46445
...@@ -194,7 +194,7 @@ class CC_EXPORT DirectRenderer { ...@@ -194,7 +194,7 @@ class CC_EXPORT DirectRenderer {
std::unordered_map<RenderPassId, TileDrawQuad, RenderPassIdHash> std::unordered_map<RenderPassId, TileDrawQuad, RenderPassIdHash>
render_pass_bypass_quads_; render_pass_bypass_quads_;
bool visible_; bool visible_ = false;
// For use in coordinate conversion, this stores the output rect, viewport // For use in coordinate conversion, this stores the output rect, viewport
// rect (= unflipped version of glViewport rect), the size of target // rect (= unflipped version of glViewport rect), the size of target
......
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