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

Issue 2268233004: Fix HandlerLeak lint warning (Closed)

Created:
4 years, 3 months ago by hush (inactive)
Modified:
4 years, 3 months ago
Reviewers:
boliu, Torne
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix HandlerLeak lint warning Suppress it, because fixing it with static inner classes proved to be troublesome and not worth the effort. BUG=640400 Committed: https://crrev.com/f148e4abd2cf574fcc82419c4163309a7eb85e1a Cr-Commit-Position: refs/heads/master@{#415480}

Patch Set 1 #

Total comments: 4

Patch Set 2 : SuppressLint warning HandlerLeak. #

Total comments: 2

Patch Set 3 : fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java View 1 2 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
hush (inactive)
PTAL
4 years, 3 months ago (2016-08-23 23:56:39 UTC) #2
boliu
https://codereview.chromium.org/2268233004/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java (right): https://codereview.chromium.org/2268233004/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java#newcode115 android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java:115: private final WeakReference<WebView> mWeakWebView; I... don't think this is ...
4 years, 3 months ago (2016-08-24 00:36:04 UTC) #3
Torne
https://codereview.chromium.org/2268233004/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java (right): https://codereview.chromium.org/2268233004/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java#newcode126 android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java:126: return; Just returning here would mean that even though ...
4 years, 3 months ago (2016-08-24 15:31:36 UTC) #5
boliu
https://codereview.chromium.org/2268233004/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java (right): https://codereview.chromium.org/2268233004/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java#newcode126 android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java:126: return; On 2016/08/24 15:31:36, Torne wrote: > Just returning ...
4 years, 3 months ago (2016-08-24 16:08:59 UTC) #6
Torne
On 2016/08/24 16:08:59, boliu wrote: > https://codereview.chromium.org/2268233004/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java > File > android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java > (right): > > ...
4 years, 3 months ago (2016-08-24 16:11:04 UTC) #7
boliu
On 2016/08/24 16:11:04, Torne wrote: > On 2016/08/24 16:08:59, boliu wrote: > > > https://codereview.chromium.org/2268233004/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java ...
4 years, 3 months ago (2016-08-24 16:13:15 UTC) #8
hush (inactive)
On 2016/08/24 16:13:15, boliu wrote: > On 2016/08/24 16:11:04, Torne wrote: > > On 2016/08/24 ...
4 years, 3 months ago (2016-08-24 21:03:37 UTC) #9
hush (inactive)
PTAL
4 years, 3 months ago (2016-08-24 21:23:12 UTC) #10
boliu
https://codereview.chromium.org/2268233004/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java (right): https://codereview.chromium.org/2268233004/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java#newcode123 android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java:123: @SuppressLint("HandlerLeak") I say don't bother with the comment. it's ...
4 years, 3 months ago (2016-08-24 21:25:43 UTC) #11
Torne
Also the CL description still says you're making it a static inner class and keeping ...
4 years, 3 months ago (2016-08-25 12:19:39 UTC) #12
hush (inactive)
Fixed CL description. https://codereview.chromium.org/2268233004/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java (right): https://codereview.chromium.org/2268233004/diff/20001/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java#newcode123 android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java:123: @SuppressLint("HandlerLeak") On 2016/08/24 21:25:43, boliu wrote: ...
4 years, 3 months ago (2016-08-30 21:58:17 UTC) #14
boliu
lgtm remember to merge downstream
4 years, 3 months ago (2016-08-30 21:59:38 UTC) #15
hush (inactive)
On 2016/08/30 21:59:38, boliu wrote: > lgtm > > remember to merge downstream thanks for ...
4 years, 3 months ago (2016-08-30 22:10:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2268233004/40001
4 years, 3 months ago (2016-08-30 22:11:23 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-30 23:07:38 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 23:08:49 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f148e4abd2cf574fcc82419c4163309a7eb85e1a
Cr-Commit-Position: refs/heads/master@{#415480}

Powered by Google App Engine
This is Rietveld 408576698