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

Issue 2271753002: [Offline pages] Making sure that destroying the bridge does not leave notification hanging (Closed)

Created:
4 years, 4 months ago by fgorski
Modified:
4 years, 4 months ago
Reviewers:
Dmitry Titov
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline pages] Making sure that destroying the bridge does not leave notification hanging * Preventing memory leak might invalidate the pointer to the bridge on C++ side, which is used to complete save page operation and to update the notification to failed or succeeded. * This patch makes sure that callback is invoked as a static function and is independent of weak ptr. BUG=638395 R=dimich Committed: https://crrev.com/a286301f5467365276284917019525a663cc0da8 Cr-Commit-Position: refs/heads/master@{#413895}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -20 lines) Patch
M chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.h View 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc View 4 chunks +14 lines, -15 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
fgorski
PTAL
4 years, 4 months ago (2016-08-23 17:56:35 UTC) #2
Dmitry Titov
lgtm
4 years, 4 months ago (2016-08-23 23:17:28 UTC) #8
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/2271753002/1
4 years, 4 months ago (2016-08-23 23:18:26 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-23 23:24:39 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 23:26:07 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a286301f5467365276284917019525a663cc0da8
Cr-Commit-Position: refs/heads/master@{#413895}

Powered by Google App Engine
This is Rietveld 408576698