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

Issue 2602923002: Tab capture: Tracking continues after renderer crash. (Closed)

Created:
3 years, 11 months ago by miu
Modified:
3 years, 11 months ago
Reviewers:
xjz
CC:
chromium-reviews, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Tab capture: Tracking continues after renderer crash. Fixes a bug where tab capture would freeze whenever the renderer crashes, and would not resume capturing after navigating to a new page. There were a number of causes, all of which amounted to: 1. Having WebContentsTracker observe an extra event, RenderFrameCreated. 2. Having WebContentsTracker report on changes to RenderWidgetHostView instead of just RenderWidgetHost. 3. Correcting an incorrect assumption: Tracking should not halt just because a RenderWidgetHost lacks a view. Intsead, it is the destruction of the WebContents that should cause tracking to halt. BUG=677347 Committed: https://crrev.com/418dd6327b1241f4b667c54051ab2894c64c07a9 Cr-Commit-Position: refs/heads/master@{#441221}

Patch Set 1 #

Patch Set 2 : Fix assumption about when view is valid. #

Total comments: 8

Patch Set 3 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -141 lines) Patch
M content/browser/media/capture/web_contents_tracker.h View 1 2 5 chunks +44 lines, -39 lines 0 comments Download
M content/browser/media/capture/web_contents_tracker.cc View 1 5 chunks +48 lines, -37 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device.cc View 1 16 chunks +63 lines, -65 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
miu
xjz: PTAL.
3 years, 11 months ago (2016-12-29 05:00:07 UTC) #4
xjz
lgtm https://codereview.chromium.org/2602923002/diff/20001/content/browser/media/capture/web_contents_tracker.cc File content/browser/media/capture/web_contents_tracker.cc (right): https://codereview.chromium.org/2602923002/diff/20001/content/browser/media/capture/web_contents_tracker.cc#newcode172 content/browser/media/capture/web_contents_tracker.cc:172: OnPossibleTargetChange(true); ooc: Will this cause an error report ...
3 years, 11 months ago (2017-01-03 19:16:41 UTC) #11
miu
https://codereview.chromium.org/2602923002/diff/20001/content/browser/media/capture/web_contents_tracker.cc File content/browser/media/capture/web_contents_tracker.cc (right): https://codereview.chromium.org/2602923002/diff/20001/content/browser/media/capture/web_contents_tracker.cc#newcode172 content/browser/media/capture/web_contents_tracker.cc:172: OnPossibleTargetChange(true); On 2017/01/03 19:16:40, xjz wrote: > ooc: Will ...
3 years, 11 months ago (2017-01-03 21:01:28 UTC) #12
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/2602923002/40001
3 years, 11 months ago (2017-01-03 21:02:15 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
3 years, 11 months ago (2017-01-03 22:17:15 UTC) #18
commit-bot: I haz the power
3 years, 11 months ago (2017-01-03 22:19:48 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/418dd6327b1241f4b667c54051ab2894c64c07a9
Cr-Commit-Position: refs/heads/master@{#441221}

Powered by Google App Engine
This is Rietveld 408576698