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

Issue 2689563008: Fix WebVR does not properly stop presenting if requestPresent rejects. (Closed)

Created:
3 years, 10 months ago by shaobo.yan
Modified:
3 years, 10 months ago
CC:
chromium-reviews, haraken, blink-reviews, feature-vr-reviews_chromium.org, hokein.wu_gmail.com
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix WebVR does not properly stop presenting if requestPresent rejects. Directly call forceExitPresent won't stop presenting correctly. BUG=680209 Review-Url: https://codereview.chromium.org/2689563008 Cr-Commit-Position: refs/heads/master@{#451544} Committed: https://chromium.googlesource.com/chromium/src/+/a8725caafe812944aa590f27e8711eab810bf1a1

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -24 lines) Patch
M third_party/WebKit/Source/modules/vr/VRDisplay.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRDisplay.cpp View 1 4 chunks +32 lines, -24 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
shaobo.yan
PTAL.
3 years, 10 months ago (2017-02-13 02:28:49 UTC) #2
mthiesse
https://codereview.chromium.org/2689563008/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.cpp File third_party/WebKit/Source/modules/vr/VRDisplay.cpp (right): https://codereview.chromium.org/2689563008/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.cpp#newcode254 third_party/WebKit/Source/modules/vr/VRDisplay.cpp:254: if (m_isPresenting) { You should fix VRDisplay::forceExitPresent(), rather than ...
3 years, 10 months ago (2017-02-13 15:33:34 UTC) #5
shaobo.yan
On 2017/02/13 15:33:34, mthiesse wrote: > https://codereview.chromium.org/2689563008/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.cpp > File third_party/WebKit/Source/modules/vr/VRDisplay.cpp (right): > > https://codereview.chromium.org/2689563008/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.cpp#newcode254 > ...
3 years, 10 months ago (2017-02-14 00:57:31 UTC) #6
shaobo.yan
On 2017/02/14 00:57:31, shaobo.yan wrote: > On 2017/02/13 15:33:34, mthiesse wrote: > > > https://codereview.chromium.org/2689563008/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.cpp ...
3 years, 10 months ago (2017-02-14 01:08:12 UTC) #7
shaobo.yan
On 2017/02/13 15:33:34, mthiesse wrote: > https://codereview.chromium.org/2689563008/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.cpp > File third_party/WebKit/Source/modules/vr/VRDisplay.cpp (right): > > https://codereview.chromium.org/2689563008/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.cpp#newcode254 > ...
3 years, 10 months ago (2017-02-14 04:19:34 UTC) #8
shaobo.yan
https://codereview.chromium.org/2689563008/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.cpp File third_party/WebKit/Source/modules/vr/VRDisplay.cpp (right): https://codereview.chromium.org/2689563008/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.cpp#newcode254 third_party/WebKit/Source/modules/vr/VRDisplay.cpp:254: if (m_isPresenting) { On 2017/02/13 15:33:34, mthiesse wrote: > ...
3 years, 10 months ago (2017-02-14 06:12:35 UTC) #9
mthiesse
lgtm
3 years, 10 months ago (2017-02-14 16:06:36 UTC) #10
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/2689563008/20001
3 years, 10 months ago (2017-02-15 00:47:27 UTC) #12
mthiesse
I don't have OWNERS here, you'll need to wait for bajones to review.
3 years, 10 months ago (2017-02-15 00:50:57 UTC) #14
shaobo.yan
mthiesse@:thx bajones@ PTAL
3 years, 10 months ago (2017-02-15 00:52:51 UTC) #15
bajones
LGTM
3 years, 10 months ago (2017-02-17 00:07:33 UTC) #16
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/2689563008/20001
3 years, 10 months ago (2017-02-20 00:38:36 UTC) #18
commit-bot: I haz the power
3 years, 10 months ago (2017-02-20 02:23:01 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a8725caafe812944aa590f27e871...

Powered by Google App Engine
This is Rietveld 408576698