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

Issue 2067183003: Use WeakPtr in HotwordService Constructor to ensure that invokes to InitializeMicrophoneObserver ca… (Closed)

Created:
4 years, 6 months ago by xiaoyinh(OOO Sep 11-29)
Modified:
4 years, 6 months ago
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, rlp+watch_chromium.org, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use WeakPtr to ensure automatic cancellation of tasks. Use WeakPtr in HotwordService Constructor to ensure that, invokes to InitializeMicrophoneObserver cannot outlive HotwordService Object. BUG=617332 TEST=Unit Tests Committed: https://crrev.com/4a66954b1826d4fde1b4eae316f4512be17a0a02 Cr-Commit-Position: refs/heads/master@{#400196}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/search/hotword_service.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (8 generated)
xiaoyinh(OOO Sep 11-29)
4 years, 6 months ago (2016-06-15 18:07:04 UTC) #2
Anand Mistry (off Chromium)
LGTM Keep in mind, this may not fix the ubsan issue. My analysis was just ...
4 years, 6 months ago (2016-06-15 21:57:13 UTC) #3
xiaoyinh(OOO Sep 11-29)
On 2016/06/15 21:57:13, Anand Mistry wrote: > LGTM > > Keep in mind, this may ...
4 years, 6 months ago (2016-06-15 22:12:44 UTC) #4
Matt Giuca
lgtm Please change the CL description so the first line is <72 characters (and a ...
4 years, 6 months ago (2016-06-16 00:17:28 UTC) #5
krasin
CFI trybot is green, hurrah!
4 years, 6 months ago (2016-06-16 11:52:30 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067183003/1
4 years, 6 months ago (2016-06-16 16:21:34 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-16 17:46:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067183003/1
4 years, 6 months ago (2016-06-16 17:47:13 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-16 17:52:06 UTC) #16
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/4a66954b1826d4fde1b4eae316f4512be17a0a02 Cr-Commit-Position: refs/heads/master@{#400196}
4 years, 6 months ago (2016-06-16 17:54:20 UTC) #18
kcarattini
4 years, 6 months ago (2016-06-18 00:48:05 UTC) #19
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698