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

Issue 2962613002: [Merge to 3141] Revert "Image Capture win: initialize camera controls lazily" (Closed)

Created:
3 years, 5 months ago by erikchen
Modified:
3 years, 5 months ago
Reviewers:
mcasas, chfremer
CC:
chromium-reviews
Target Ref:
refs/branch-heads/3141
Project:
chromium
Visibility:
Public.

Description

[Merge to 3141] Revert "Image Capture win: initialize camera controls lazily" This reverts commit 0034bdea7ead45fc8738b68bbf1eb9d037eece33. Reason for revert: Reverting on recommendation of ligimole@ for being a top crasher in Canary: https://bugs.chromium.org/p/chromium/issues/detail?id=736368 Original change's description: > Image Capture win: initialize camera controls lazily > > ToT initializes |camera_control_| and |video_control_| > during AllocateAndStart(), which causes issues for clients > who just want video capture. This CL corrects this by > delaying initialization of the said member variables to > when they are needed, that is, when calling GetPhotoState() > or SetPhotoOptions(). > > Bug: 722038 > Change-Id: I9d98075c53ec1519057187a722f5f8747fd12fde > Reviewed-on: https://chromium-review.googlesource.com/543198 > Reviewed-by: Christian Fremerey <chfremer@chromium.org>; > Commit-Queue: Miguel Casas <mcasas@chromium.org>; > Cr-Commit-Position: refs/heads/master@{#481401} TBR=mcasas@chromium.org,chfremer@chromium.org Bug: 722038 Change-Id: I573d6a956e6ab7614df981c966dc15b5c2349a0f Reviewed-on: https://chromium-review.googlesource.com/549059 Reviewed-by: Erik Chen <erikchen@chromium.org>; Commit-Queue: Erik Chen <erikchen@chromium.org>; Cr-Original-Commit-Position: refs/heads/master@{#482432} Review-Url: https://codereview.chromium.org/2962613002 . Cr-Commit-Position: refs/branch-heads/3141@{#7} Cr-Branched-From: 180095eb1bca7df1cdcb02547340499c2ee3af6e-refs/heads/master@{#482153} Committed: https://chromium.googlesource.com/chromium/src/+/89ec7939fd60622719d440296e99f1feacc09ac1

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -45 lines) Patch
M media/capture/video/win/video_capture_device_win.h View 1 chunk +0 lines, -2 lines 0 comments Download
M media/capture/video/win/video_capture_device_win.cc View 4 chunks +40 lines, -43 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
erikchen
3 years, 5 months ago (2017-06-26 23:25:36 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
89ec7939fd60622719d440296e99f1feacc09ac1.

Powered by Google App Engine
This is Rietveld 408576698