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

Issue 2684843004: Avoid AddRef'ing non-thread-safe ref count on PageCaptureSaveAsMHTML (Closed)

Created:
3 years, 10 months ago by tzik
Modified:
3 years, 10 months ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid AddRef'ing non-thread-safe ref count on PageCaptureSaveAsMHTML ShareableFileReference has non-thread-safe ref count, and is accessed from multiple threads in PageCaptureSaveAsMHTML. That causes an DCHECK failure on an upcoming change to RefCounted. The failure in PageCaptureSaveAsHTMLFunction itself looks a false positive, since all touching code are well ordered. Review-Url: https://codereview.chromium.org/2684843004 Cr-Commit-Position: refs/heads/master@{#449400} Committed: https://chromium.googlesource.com/chromium/src/+/e92ec6dc204912e3b5819b104414fc1e755e8b9d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M chrome/browser/extensions/api/page_capture/page_capture_api.cc View 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (11 generated)
tzik
PTAL
3 years, 10 months ago (2017-02-09 07:43:06 UTC) #9
Ken Rockot(use gerrit already)
lgtm
3 years, 10 months ago (2017-02-09 17:18:59 UTC) #10
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/2684843004/1
3 years, 10 months ago (2017-02-09 20:42:21 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 20:48:05 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/e92ec6dc204912e3b5819b104414...

Powered by Google App Engine
This is Rietveld 408576698