Initialize and clean up IME state in TextInputManager to avoid memory crashes/memory leak. |
||
Issue descriptionSome of the internal state in TextInputManager are not initialized or cleaned up in a Register or Unregister call. Since we assume registration based on existence of a key in the |text_input_state_map_| all other maps should be initialized/erased accordingly.
,
Jul 21 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/4cfc03e1c2d8561641951e8843f4af4f52285703 commit 4cfc03e1c2d8561641951e8843f4af4f52285703 Author: ekaramad <ekaramad@chromium.org> Date: Thu Jul 21 17:34:21 2016 [refactor] content::TextInputManager - Make some methods const and initialize/cleanup IME maps This CL makes some getter methods in TextInputManager const. Also, the CL will clean up and initialize maps at the time of unregistering and registering with TextInputManager. BUG= 629842 , 578168 Review-Url: https://codereview.chromium.org/2170463002 Cr-Commit-Position: refs/heads/master@{#406891} [modify] https://crrev.com/4cfc03e1c2d8561641951e8843f4af4f52285703/content/browser/renderer_host/text_input_manager.cc [modify] https://crrev.com/4cfc03e1c2d8561641951e8843f4af4f52285703/content/browser/renderer_host/text_input_manager.h
,
Jul 26 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by ekaramad@chromium.org
, Jul 20 2016