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

Issue 1913283004: Aura Window Capture: Ensure capture callback is always run. (Closed)

Created:
4 years, 8 months ago by miu
Modified:
4 years, 7 months ago
Reviewers:
GeorgeZ
CC:
chromium-reviews, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Aura Window Capture: Ensure capture callback is always run. The capture callback must always be run, or eventually the capture decision logic will think there are too many captures in-flight. This closes some "holes" in content::AuraWindowCaptureMachine where methods exit early without running the callback. This is a potential fix for crbug 600031. BUG=600031 Committed: https://crrev.com/47efd876604698bfebe78ef495d789148694f649 Cr-Commit-Position: refs/heads/master@{#389867}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix hole in ThreadSafeCaptureOracle as well. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -7 lines) Patch
M content/browser/media/capture/aura_window_capture_machine.h View 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/media/capture/aura_window_capture_machine.cc View 3 chunks +10 lines, -2 lines 0 comments Download
M media/capture/content/thread_safe_capture_oracle.h View 1 chunk +4 lines, -3 lines 0 comments Download
M media/capture/content/thread_safe_capture_oracle.cc View 1 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 14 (5 generated)
miu
gyzhou: PTAL (speculative fix for crbug 600031).
4 years, 8 months ago (2016-04-23 01:19:59 UTC) #2
GeorgeZ
Yuri, Test with this patch failed in chrome device blaze. A comment is added with ...
4 years, 8 months ago (2016-04-23 18:47:16 UTC) #3
miu
PTAL. https://codereview.chromium.org/1913283004/diff/1/content/browser/media/capture/aura_window_capture_machine.cc File content/browser/media/capture/aura_window_capture_machine.cc (right): https://codereview.chromium.org/1913283004/diff/1/content/browser/media/capture/aura_window_capture_machine.cc#newcode230 content/browser/media/capture/aura_window_capture_machine.cc:230: capture_frame_cb.Run(video_frame, start_time, false); On 2016/04/23 18:47:15, GeorgeZ wrote: ...
4 years, 8 months ago (2016-04-26 02:27:59 UTC) #4
GeorgeZ
Miu, I tested this CL on Device blaze. It solved the issue of frame rate ...
4 years, 8 months ago (2016-04-26 16:30:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1913283004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1913283004/20001
4 years, 8 months ago (2016-04-26 16:39:22 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/60431)
4 years, 8 months ago (2016-04-26 18:10:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1913283004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1913283004/20001
4 years, 8 months ago (2016-04-26 18:23:56 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-04-26 20:12:58 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-04-26 20:14:46 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/47efd876604698bfebe78ef495d789148694f649
Cr-Commit-Position: refs/heads/master@{#389867}

Powered by Google App Engine
This is Rietveld 408576698