|
|
Chromium Code Reviews
DescriptionARC IME: Fix Crash on ARC Notification
This CL adds a handler of WindowObserver::OnWindowRemovingFromRootWindow to detach IME. This fixes the crash which has been introduced by crbug.com/685724.
And this CL also changes |focused_arc_window_| property from a aura::WindowTracker to a raw pointer for visibility.
BUG=685724
TEST=manually (crash doesn't happen)
Review-Url: https://codereview.chromium.org/2661863002
Cr-Commit-Position: refs/heads/master@{#447458}
Committed: https://chromium.googlesource.com/chromium/src/+/f00d3c2b8f462741503a9da7881129658ebcbc09
Patch Set 1 #Patch Set 2 #
Total comments: 3
Patch Set 3 : Removed unnecessary include #
Messages
Total messages: 33 (23 generated)
The CQ bit was checked by yoshiki@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by yoshiki@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== wip . BUG= ========== to ========== ARC IME: Fix Crash on ARC Notification This CL adds a handler of WindowObserver::OnWindowRemovingFromRootWindow to detach IME. This fixes the crash which has been introduced by crbug.com/685724. And this CL also changes |focused_arc_window_| property from a aura::WindowTracker to a raw pointer for visibility. BUG=685724 TEST=manually (crash doesn't happen) ==========
yoshiki@chromium.org changed reviewers: + kinaba@chromium.org
kinaba-san, PTAL.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm
The CQ bit was checked by yoshiki@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
yoshiki@chromium.org changed reviewers: + hidehiko@chromium.org
Hidehiko-san, PTAL
lgtm https://codereview.chromium.org/2661863002/diff/20001/components/arc/ime/arc_... File components/arc/ime/arc_ime_service.cc (right): https://codereview.chromium.org/2661863002/diff/20001/components/arc/ime/arc_... components/arc/ime/arc_ime_service.cc:240: new_bounds, window->layer()->device_scale_factor()); nit: you can inline |focused_arc_window_| here.
one more nit https://codereview.chromium.org/2661863002/diff/20001/components/arc/ime/arc_... File components/arc/ime/arc_ime_service.h (right): https://codereview.chromium.org/2661863002/diff/20001/components/arc/ime/arc_... components/arc/ime/arc_ime_service.h:16: #include "ui/aura/window_tracker.h" not needed?
The CQ bit was checked by yoshiki@chromium.org
The CQ bit was unchecked by yoshiki@chromium.org
The CQ bit was checked by yoshiki@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2661863002/diff/20001/components/arc/ime/arc_... File components/arc/ime/arc_ime_service.h (right): https://codereview.chromium.org/2661863002/diff/20001/components/arc/ime/arc_... components/arc/ime/arc_ime_service.h:16: #include "ui/aura/window_tracker.h" On 2017/02/01 04:13:27, kinaba wrote: > not needed? Removed.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by yoshiki@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from hidehiko@chromium.org, kinaba@chromium.org Link to the patchset: https://codereview.chromium.org/2661863002/#ps40001 (title: "Removed unnecessary include")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1485927857985970,
"parent_rev": "95948d4ee56a43c688ad9bc2975b1eff1376e2c0", "commit_rev":
"f00d3c2b8f462741503a9da7881129658ebcbc09"}
Message was sent while issue was closed.
Description was changed from ========== ARC IME: Fix Crash on ARC Notification This CL adds a handler of WindowObserver::OnWindowRemovingFromRootWindow to detach IME. This fixes the crash which has been introduced by crbug.com/685724. And this CL also changes |focused_arc_window_| property from a aura::WindowTracker to a raw pointer for visibility. BUG=685724 TEST=manually (crash doesn't happen) ========== to ========== ARC IME: Fix Crash on ARC Notification This CL adds a handler of WindowObserver::OnWindowRemovingFromRootWindow to detach IME. This fixes the crash which has been introduced by crbug.com/685724. And this CL also changes |focused_arc_window_| property from a aura::WindowTracker to a raw pointer for visibility. BUG=685724 TEST=manually (crash doesn't happen) Review-Url: https://codereview.chromium.org/2661863002 Cr-Commit-Position: refs/heads/master@{#447458} Committed: https://chromium.googlesource.com/chromium/src/+/f00d3c2b8f462741503a9da78811... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/f00d3c2b8f462741503a9da78811... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
