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

Issue 239253003: Stop using v8::Persistent in ObjectBackedNativeHandler (Closed)

Created:
6 years, 8 months ago by adamk
Modified:
6 years, 8 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, dcarney, vogelheim
Visibility:
Public.

Description

Stop using v8::Persistent in ObjectBackedNativeHandler When r261795 switched from storing UnsafePersistents to using the new PersistentValueVector, the allocation of a v8::Persistent was erroneously left in the code, and would never be disposed. As it happens, that Persistent isn't needed at all, so avoiding the memory leak is just a matter of never allocating it. R=jochen@chromium.org BUG=363708 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264059

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M extensions/renderer/object_backed_native_handler.cc View 1 chunk +4 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
adamk
6 years, 8 months ago (2014-04-15 18:29:54 UTC) #1
jochen (gone - plz use gerrit)
lgtm
6 years, 8 months ago (2014-04-15 18:32:37 UTC) #2
adamk
+kalman for extensions OWNERS
6 years, 8 months ago (2014-04-15 18:33:43 UTC) #3
not at google - send to devlin
lgtm
6 years, 8 months ago (2014-04-15 18:39:05 UTC) #4
adamk
The CQ bit was checked by adamk@chromium.org
6 years, 8 months ago (2014-04-15 18:44:53 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adamk@chromium.org/239253003/1
6 years, 8 months ago (2014-04-15 18:45:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adamk@chromium.org/239253003/1
6 years, 8 months ago (2014-04-16 01:21:24 UTC) #7
commit-bot: I haz the power
6 years, 8 months ago (2014-04-16 01:47:06 UTC) #8
Message was sent while issue was closed.
Change committed as 264059

Powered by Google App Engine
This is Rietveld 408576698