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

Issue 2857313002: M59: Defer deletion in PrintWebViewHelper while handling IPC messages. (Closed)

Created:
3 years, 7 months ago by Lei Zhang
Modified:
3 years, 7 months ago
Reviewers:
CC:
chromium-reviews
Target Ref:
refs/branch-heads/3071
Project:
chromium
Visibility:
Public.

Description

M59: Defer deletion in PrintWebViewHelper while handling IPC messages. Also calculate modifiability only once in PrintPreviewContext. This does less repeated work, and prevents accessing frames after their deletion. BUG=707549 Review-Url: https://codereview.chromium.org/2849483002 Cr-Commit-Position: refs/heads/master@{#467810} (cherry picked from commit 9c0e322c8de168b121cd6ae8cba92cd3214e5b1f) Review-Url: https://codereview.chromium.org/2857313002 . Cr-Commit-Position: refs/branch-heads/3071@{#385} Cr-Branched-From: a106f0abbf69dad349d4aaf4bcc4f5d376dd2377-refs/heads/master@{#464641} Committed: https://chromium.googlesource.com/chromium/src/+/b6b5a52b378f25b3d7c917c119c1da28c4c2900b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -16 lines) Patch
M components/printing/renderer/print_web_view_helper.h View 5 chunks +9 lines, -1 line 0 comments Download
M components/printing/renderer/print_web_view_helper.cc View 13 chunks +25 lines, -15 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
Lei Zhang
3 years, 7 months ago (2017-05-03 22:54:50 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
b6b5a52b378f25b3d7c917c119c1da28c4c2900b.

Powered by Google App Engine
This is Rietveld 408576698