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

Issue 10827125: Use JavaObjectWeakGlobalRef in ContentViewCore. (Closed)

Created:
8 years, 4 months ago by nilesh
Modified:
8 years, 4 months ago
Reviewers:
joth, Jesse Greenwald
CC:
chromium-reviews, joi+watch-content_chromium.org, erikwright (departed), darin-cc_chromium.org, jam, brettw-cc_chromium.org
Visibility:
Public.

Description

Use JavaObjectWeakGlobalRef in ContentViewCore. Java ContentViewCore object may be garbage collected without first destroying the native object. Because of this, all C++->Java calls to ContentViewCore must be guarded with a null check. BUG=139386, 138237 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149570

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -50 lines) Patch
M base/android/jni_helper.h View 3 chunks +6 lines, -1 line 0 comments Download
M base/android/jni_helper.cc View 2 chunks +15 lines, -6 lines 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 9 chunks +31 lines, -26 lines 0 comments Download
M content/browser/android/download_controller.h View 2 chunks +6 lines, -2 lines 0 comments Download
M content/browser/android/download_controller.cc View 5 chunks +22 lines, -15 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
nilesh
8 years, 4 months ago (2012-08-01 21:58:42 UTC) #1
nilesh
8 years, 4 months ago (2012-08-01 22:06:31 UTC) #2
joth
lgtm
8 years, 4 months ago (2012-08-02 01:23:27 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nileshagrawal@chromium.org/10827125/1
8 years, 4 months ago (2012-08-02 01:58:55 UTC) #4
commit-bot: I haz the power
8 years, 4 months ago (2012-08-02 02:59:58 UTC) #5
Change committed as 149570

Powered by Google App Engine
This is Rietveld 408576698