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

Issue 509453002: android_webview : Class member variable WeakPtrFactory in proper order. (Closed)

Created:
6 years, 3 months ago by ARUNKK
Modified:
6 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

android_webview : Class member variable WeakPtrFactory in proper order. Maintaing the proper WeakPtrFactory destruction order to avoid the runtime issue like unrleased memory,etc... WeakPtrFactory should remain the last member so it'll be destroyed and invalidate its weak pointers before any other members are destroyed. BUG=303818 Committed: https://crrev.com/e84a1d22e950b8b12eb08124a57d0d23f907bcee Cr-Commit-Position: refs/heads/master@{#294569}

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M android_webview/browser/net/android_stream_reader_url_request_job.h View 1 chunk +2 lines, -1 line 0 comments Download
M android_webview/browser/shared_renderer_state.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M android_webview/browser/shared_renderer_state.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M android_webview/native/aw_quota_manager_bridge_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M android_webview/native/aw_quota_manager_bridge_impl.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 33 (9 generated)
ARUNKK
kulkarni.a@samsung.com changed reviewers: + michaelbai@chromium.org, mkosiba@chromium.org
6 years, 3 months ago (2014-08-26 14:03:11 UTC) #1
ARUNKK
michaelbai@chromium.org: Please review changes in src/android_webview mkosiba@chromium.org: Please review changes in src/android_webview
6 years, 3 months ago (2014-08-26 14:03:11 UTC) #2
michaelbai
On 2014/08/26 14:03:11, kulkarni.a wrote: > mailto:michaelbai@chromium.org: Please review changes in src/android_webview > > mailto:mkosiba@chromium.org: ...
6 years, 3 months ago (2014-08-27 03:15:01 UTC) #3
ARUNKK
On 2014/08/27 03:15:01, michaelbai wrote: > On 2014/08/26 14:03:11, kulkarni.a wrote: > > mailto:michaelbai@chromium.org: Please ...
6 years, 3 months ago (2014-08-27 14:17:21 UTC) #4
michaelbai
On 2014/08/27 14:17:21, kulkarni.a wrote: > On 2014/08/27 03:15:01, michaelbai wrote: > > On 2014/08/26 ...
6 years, 3 months ago (2014-08-28 04:05:24 UTC) #5
ARUNKK
On 2014/08/28 04:05:24, michaelbai wrote: > On 2014/08/27 14:17:21, kulkarni.a wrote: > > On 2014/08/27 ...
6 years, 3 months ago (2014-08-28 06:32:06 UTC) #6
ARUNKK
On 2014/08/28 06:32:06, kulkarni.a wrote: > On 2014/08/28 04:05:24, michaelbai wrote: > > On 2014/08/27 ...
6 years, 3 months ago (2014-08-28 06:32:16 UTC) #7
michaelbai
6 years, 3 months ago (2014-08-29 16:14:53 UTC) #8
michaelbai
lgtm
6 years, 3 months ago (2014-08-29 16:14:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kulkarni.a@samsung.com/509453002/1
6 years, 3 months ago (2014-09-01 03:13:08 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg_recipe on tryserver.chromium.linux ...
6 years, 3 months ago (2014-09-01 04:14:19 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/4155)
6 years, 3 months ago (2014-09-01 08:02:30 UTC) #14
mkosiba (inactive)
lgtm https://codereview.chromium.org/509453002/diff/1/android_webview/browser/net/android_stream_reader_url_request_job.h File android_webview/browser/net/android_stream_reader_url_request_job.h (right): https://codereview.chromium.org/509453002/diff/1/android_webview/browser/net/android_stream_reader_url_request_job.h#newcode121 android_webview/browser/net/android_stream_reader_url_request_job.h:121: base::WeakPtrFactory<AndroidStreamReaderURLRequestJob> weak_factory_; maybe add a commend saying that ...
6 years, 3 months ago (2014-09-01 08:59:37 UTC) #15
mkosiba (inactive)
https://codereview.chromium.org/509453002/diff/1/android_webview/browser/net/android_stream_reader_url_request_job.h File android_webview/browser/net/android_stream_reader_url_request_job.h (right): https://codereview.chromium.org/509453002/diff/1/android_webview/browser/net/android_stream_reader_url_request_job.h#newcode121 android_webview/browser/net/android_stream_reader_url_request_job.h:121: base::WeakPtrFactory<AndroidStreamReaderURLRequestJob> weak_factory_; On 2014/09/01 08:59:37, mkosiba wrote: > maybe ...
6 years, 3 months ago (2014-09-01 09:00:24 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kulkarni.a@samsung.com/509453002/1
6 years, 3 months ago (2014-09-01 09:37:12 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg_recipe on tryserver.chromium.linux ...
6 years, 3 months ago (2014-09-01 11:04:06 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/1327)
6 years, 3 months ago (2014-09-01 11:15:15 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/509453002/20001
6 years, 3 months ago (2014-09-12 06:31:57 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/55117) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/14453) ios_rel_device ...
6 years, 3 months ago (2014-09-12 06:35:16 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/509453002/20001
6 years, 3 months ago (2014-09-12 08:10:53 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/55145) ios_rel_device on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device/builds/14398) ios_rel_device_ninja ...
6 years, 3 months ago (2014-09-12 08:14:36 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/509453002/40001
6 years, 3 months ago (2014-09-12 08:54:37 UTC) #31
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 1119659ffd0f8fb91fdb7be15aed2ce8f7263b37
6 years, 3 months ago (2014-09-12 09:57:55 UTC) #32
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 10:03:52 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e84a1d22e950b8b12eb08124a57d0d23f907bcee
Cr-Commit-Position: refs/heads/master@{#294569}

Powered by Google App Engine
This is Rietveld 408576698