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

Issue 2570903002: Media Galleries: Fix render-process-gone case in GetMetadata call (Closed)

Created:
4 years ago by tommycli
Modified:
4 years ago
Reviewers:
hirono, zel
CC:
chromium-reviews, Lei Zhang, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Media Galleries: Fix render-process-gone case in GetMetadata call Sometimes the render process goes away (tab closed, crashes, etc.) before the MediaGalleries GetMetadata call completes. This CL adds a nullptr check to gracefully handle that case. BUG=673459 Committed: https://crrev.com/156d2b857294d592ff2e05c528c85cb49f71eaa9 Cr-Commit-Position: refs/heads/master@{#438848}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M chrome/browser/extensions/api/media_galleries/media_galleries_api.cc View 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (16 generated)
tommycli
zelidrag: PTAL, i think this will fix that null crash. Thanks. Tommy
4 years ago (2016-12-13 19:29:05 UTC) #6
tommycli
hirono: PTAL if interested
4 years ago (2016-12-14 18:36:41 UTC) #8
hirono
lgtm, thank you for fixing this!
4 years ago (2016-12-15 00:20:14 UTC) #9
tommycli
On 2016/12/15 00:20:14, hirono wrote: > lgtm, thank you for fixing this! thanks!
4 years ago (2016-12-15 00:29:51 UTC) #11
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/2570903002/1
4 years ago (2016-12-15 00:30:31 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/334928) win_clang on master.tryserver.chromium.win (JOB_FAILED, ...
4 years ago (2016-12-15 00:39:01 UTC) #14
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/2570903002/1
4 years ago (2016-12-15 00:47:44 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/350348) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
4 years ago (2016-12-15 00:53:51 UTC) #18
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/2570903002/1
4 years ago (2016-12-15 01:04:25 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/315171)
4 years ago (2016-12-15 01:10:37 UTC) #22
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/2570903002/1
4 years ago (2016-12-15 16:09:03 UTC) #24
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-15 16:48:24 UTC) #27
commit-bot: I haz the power
4 years ago (2016-12-15 16:51:05 UTC) #29
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/156d2b857294d592ff2e05c528c85cb49f71eaa9
Cr-Commit-Position: refs/heads/master@{#438848}

Powered by Google App Engine
This is Rietveld 408576698