Chromium Code Reviews
Description[Reland-fixing asan failure] Tablet-like power button behavior on Convertible/Tablet ChromeOS devices
description from 2474913004:
Changes:
device consistency: convertible/tablet chromeos devices follow the behavior described in go/touchview-power convertible behavior; other devices follow clamshell behavior.
description for this review:
The CL in 2474913004 using raw pointer for callback. However, there are two threads, UI thread and DBusThread. Thus raw pointer may cause "use after free address error".
BUG=633304
TEST=manually test; add unitttest; manually asan test.
Committed: https://crrev.com/168ffcf4f0f154cc52d7428f18e90b7d2c5ffb73
Cr-Commit-Position: refs/heads/master@{#432196}
Patch Set 1 : base from 2474913004 #Patch Set 2 : fix asan test failure #Messages
Total messages: 15 (10 generated)
|