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

Issue 232733002: InvokeCallbackTask should use UniquePersistent to hold callback. (Closed)

Created:
6 years, 8 months ago by kouhei (in TOK)
Modified:
6 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, haraken
Visibility:
Public.

Description

InvokeCallbackTask should use UniquePersistent to hold callback. Before this patch, InvokeCallbackTask was holding onto a callback using v8::Persistent, and v8::Persistent do not release on d-tor by default. This patch changes it to use UniquePersistent, so it will release callback on |~InvokeCallbackTask|. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262975

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M content/shell/renderer/test_runner/test_runner.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
kouhei (in TOK)
6 years, 8 months ago (2014-04-10 08:54:37 UTC) #1
haraken
+dan, vogelheim
6 years, 8 months ago (2014-04-10 08:55:34 UTC) #2
jochen (gone - plz use gerrit)
lgtm
6 years, 8 months ago (2014-04-10 09:07:27 UTC) #3
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 8 months ago (2014-04-10 09:09:23 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/232733002/1
6 years, 8 months ago (2014-04-10 09:09:31 UTC) #5
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 13:52:50 UTC) #6
Message was sent while issue was closed.
Change committed as 262975

Powered by Google App Engine
This is Rietveld 408576698