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

Issue 82483002: Clear native pointers when destroy()ing Java objects. (Closed)

Created:
7 years, 1 month ago by newt (away)
Modified:
7 years, 1 month ago
CC:
chromium-reviews, browser-components-watch_chromium.org
Visibility:
Public.

Description

Clear native pointers when destroy()ing Java objects. We weren't clearing the native pointers for these Java objects, but we were asserting that the native pointers were 0 in the (evil) Java finalizers. This resulted in an error in the logs (but no crash, thanks to the beauty of finalizers). NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236808

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase (you can do it, app engine!) #

Patch Set 4 : uploading is hard, let's go shopping #

Patch Set 5 : I think I can, I think I can, ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ForeignSessionHelper.java View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/NewTabPagePrefs.java View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedBridge.java View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/favicon/FaviconHelper.java View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
newt (away)
7 years, 1 month ago (2013-11-22 01:58:23 UTC) #1
David Trainor- moved to gerrit
lgtm
7 years, 1 month ago (2013-11-22 02:03:59 UTC) #2
Ted C
lgtm -- sadness
7 years, 1 month ago (2013-11-22 02:04:17 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/newt@chromium.org/82483002/50002
7 years, 1 month ago (2013-11-22 19:25:01 UTC) #4
commit-bot: I haz the power
7 years, 1 month ago (2013-11-22 19:26:11 UTC) #5
Message was sent while issue was closed.
Change committed as 236808

Powered by Google App Engine
This is Rietveld 408576698