Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Issue 2661863002: ARC IME: Fix Crash on ARC Notification (Closed)

Created:
3 years, 10 months ago by yoshiki
Modified:
3 years, 10 months ago
Reviewers:
hidehiko, kinaba
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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/+/f00d3c2b8f462741503a9da7881129658ebcbc09

Patch Set 1 #

Patch Set 2 #

Total comments: 3

Patch Set 3 : Removed unnecessary include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -13 lines) Patch
M components/arc/ime/arc_ime_service.h View 1 2 4 chunks +7 lines, -2 lines 0 comments Download
M components/arc/ime/arc_ime_service.cc View 1 6 chunks +35 lines, -11 lines 0 comments Download

Messages

Total messages: 33 (23 generated)
yoshiki
kinaba-san, PTAL.
3 years, 10 months ago (2017-01-31 05:03:42 UTC) #9
kinaba
lgtm
3 years, 10 months ago (2017-01-31 07:36:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2661863002/20001
3 years, 10 months ago (2017-01-31 07:55:05 UTC) #14
commit-bot: I haz the power
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_presubmit/builds/353778)
3 years, 10 months ago (2017-01-31 08:00:57 UTC) #16
yoshiki
Hidehiko-san, PTAL
3 years, 10 months ago (2017-02-01 04:05:39 UTC) #18
hidehiko
lgtm https://codereview.chromium.org/2661863002/diff/20001/components/arc/ime/arc_ime_service.cc File components/arc/ime/arc_ime_service.cc (right): https://codereview.chromium.org/2661863002/diff/20001/components/arc/ime/arc_ime_service.cc#newcode240 components/arc/ime/arc_ime_service.cc:240: new_bounds, window->layer()->device_scale_factor()); nit: you can inline |focused_arc_window_| here.
3 years, 10 months ago (2017-02-01 04:12:35 UTC) #19
kinaba
one more nit https://codereview.chromium.org/2661863002/diff/20001/components/arc/ime/arc_ime_service.h File components/arc/ime/arc_ime_service.h (right): https://codereview.chromium.org/2661863002/diff/20001/components/arc/ime/arc_ime_service.h#newcode16 components/arc/ime/arc_ime_service.h:16: #include "ui/aura/window_tracker.h" not needed?
3 years, 10 months ago (2017-02-01 04:13:27 UTC) #20
yoshiki
https://codereview.chromium.org/2661863002/diff/20001/components/arc/ime/arc_ime_service.h File components/arc/ime/arc_ime_service.h (right): https://codereview.chromium.org/2661863002/diff/20001/components/arc/ime/arc_ime_service.h#newcode16 components/arc/ime/arc_ime_service.h:16: #include "ui/aura/window_tracker.h" On 2017/02/01 04:13:27, kinaba wrote: > not ...
3 years, 10 months ago (2017-02-01 05:10:10 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2661863002/40001
3 years, 10 months ago (2017-02-01 05:44:39 UTC) #30
commit-bot: I haz the power
3 years, 10 months ago (2017-02-01 05:49:00 UTC) #33
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/f00d3c2b8f462741503a9da78811...

Powered by Google App Engine
This is Rietveld 408576698