Fix use of base::debug::Alias in scoped_handle.cc
base::debug::Alias can only reliably trick the compiler into retaining the values of local variables, not class member variables. Therefore it is important to copy class member variables to locals before aliasing them. Bug: 756589 Change-Id: I5c67f386c2a6ad192af74fd9aefbc9103b355774 Reviewed-on: https://chromium-review.googlesource.com/792297Reviewed-by:Robert Liao <robliao@chromium.org> Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Cr-Commit-Position: refs/heads/master@{#519531}
Showing
Please register or sign in to comment