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

Issue 2550453004: Avoid using the VideoFrame default constructor. (Closed)

Created:
4 years ago by nisse-chromium (ooo August 14)
Modified:
4 years ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid using the VideoFrame default constructor. It is deprecated in webrtc, to avoid dealing with half-initialized objects. BUG=None. Committed: https://crrev.com/ffd6babaa54c96e6b7f652ffb4864391c477a094 Cr-Commit-Position: refs/heads/master@{#436253}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use base::Optional instead of rtc::Optional. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M content/renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc View 1 4 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
nisse-chromium (ooo August 14)
Hi, PTAL. Using rtc::Optional seemed like the easiest way to delay construction of the VideoFrame ...
4 years ago (2016-12-02 07:51:22 UTC) #2
Sergey Ulanov
lgtm when my comment is addressed https://codereview.chromium.org/2550453004/diff/1/content/renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc File content/renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc (right): https://codereview.chromium.org/2550453004/diff/1/content/renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc#newcode92 content/renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc:92: rtc::Optional<webrtc::VideoFrame> output_frame_; This ...
4 years ago (2016-12-02 18:24:05 UTC) #3
nisse-chromium (ooo August 14)
https://codereview.chromium.org/2550453004/diff/1/content/renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc File content/renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc (right): https://codereview.chromium.org/2550453004/diff/1/content/renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc#newcode92 content/renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc:92: rtc::Optional<webrtc::VideoFrame> output_frame_; On 2016/12/02 18:24:05, Sergey Ulanov wrote: > ...
4 years ago (2016-12-05 09:54:36 UTC) #4
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/2550453004/20001
4 years ago (2016-12-05 09:55:04 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-05 10:24:10 UTC) #9
commit-bot: I haz the power
4 years ago (2016-12-05 10:26:04 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ffd6babaa54c96e6b7f652ffb4864391c477a094
Cr-Commit-Position: refs/heads/master@{#436253}

Powered by Google App Engine
This is Rietveld 408576698