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

Issue 2182673003: Avoid crashing if MHTMLGenerationManager::JobFinished is called twice. (Closed)

Created:
4 years, 5 months ago by Łukasz Anforowicz
Modified:
4 years, 5 months ago
Reviewers:
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@2785
Target Ref:
refs/pending/branch-heads/2785
Project:
chromium
Visibility:
Public.

Description

Avoid crashing if MHTMLGenerationManager::JobFinished is called twice. This CL makes sure that MHTMLGenerationManager::JobFinished is idempotent and doesn't do anything when called for a second time. This avoids the crash from the linked bug. BUG=612098 Review-Url: https://codereview.chromium.org/2163073002 Cr-Commit-Position: refs/heads/master@{#407244} (cherry picked from commit a668d7811c2c19662cbeec9e10a3e283292445e5) Committed: https://chromium.googlesource.com/chromium/src/+/7b183ec013bd7217340be9f821307b360a76e79d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -20 lines) Patch
M content/browser/download/docs/save-page-as.md View 1 chunk +10 lines, -7 lines 0 comments Download
M content/browser/download/mhtml_generation_browsertest.cc View 3 chunks +121 lines, -0 lines 0 comments Download
M content/browser/download/mhtml_generation_manager.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/download/mhtml_generation_manager.cc View 10 chunks +39 lines, -13 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
Łukasz Anforowicz
4 years, 5 months ago (2016-07-25 19:31:23 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
7b183ec013bd7217340be9f821307b360a76e79d.

Powered by Google App Engine
This is Rietveld 408576698