diff options
author | kouhei@chromium.org <kouhei@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-10 13:52:45 +0000 |
---|---|---|
committer | kouhei@chromium.org <kouhei@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-10 13:52:45 +0000 |
commit | 78ecee494f7c61af7923b3f61126b088b5592e2b (patch) | |
tree | 2703c5a6436e981311b8ef3cfab2ca5b45bb0cf8 /chrome/browser/notifications/notification_browsertest.cc | |
parent | 518956883a388eee390e1ec2acd3bc469407d3c9 (diff) | |
download | chromium_src-78ecee494f7c61af7923b3f61126b088b5592e2b.zip chromium_src-78ecee494f7c61af7923b3f61126b088b5592e2b.tar.gz chromium_src-78ecee494f7c61af7923b3f61126b088b5592e2b.tar.bz2 |
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
Review URL: https://codereview.chromium.org/232733002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262975 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications/notification_browsertest.cc')
0 files changed, 0 insertions, 0 deletions