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

Issue 2926953002: Fix WebVR so we don't animation when stopped at a JS breakpoint (Closed)

Created:
3 years, 6 months ago by billorr
Modified:
3 years, 6 months ago
CC:
chromium-reviews, blink-reviews, feature-vr-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix WebVR so we don't animate while stopped at a JS breakpoint While stopped at a JavaScript breakpoint, we shouldn't call into Javascript. BUG=719101 Review-Url: https://codereview.chromium.org/2926953002 Cr-Commit-Position: refs/heads/master@{#478068} Committed: https://chromium.googlesource.com/chromium/src/+/dfb76f24c05c31ce433a30fc9b774b25c01c89da

Patch Set 1 #

Total comments: 4

Patch Set 2 : cr feedback - remove flags #

Total comments: 1

Patch Set 3 : update includes #

Total comments: 2

Patch Set 4 : cr feedback #

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

Messages

Total messages: 26 (13 generated)
billorr
PTAL
3 years, 6 months ago (2017-06-07 23:15:00 UTC) #2
haraken
https://codereview.chromium.org/2926953002/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.h File third_party/WebKit/Source/modules/vr/VRDisplay.h (right): https://codereview.chromium.org/2926953002/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.h#newcode219 third_party/WebKit/Source/modules/vr/VRDisplay.h:219: bool suspended_ = false; You can drop this flag ...
3 years, 6 months ago (2017-06-08 00:55:12 UTC) #5
mthiesse
https://codereview.chromium.org/2926953002/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.cpp File third_party/WebKit/Source/modules/vr/VRDisplay.cpp (right): https://codereview.chromium.org/2926953002/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.cpp#newcode77 third_party/WebKit/Source/modules/vr/VRDisplay.cpp:77: if (request_vsync_on_resume_) { No need for this boolean. RequestVSync() ...
3 years, 6 months ago (2017-06-08 03:26:30 UTC) #7
billorr
https://codereview.chromium.org/2926953002/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.cpp File third_party/WebKit/Source/modules/vr/VRDisplay.cpp (right): https://codereview.chromium.org/2926953002/diff/1/third_party/WebKit/Source/modules/vr/VRDisplay.cpp#newcode77 third_party/WebKit/Source/modules/vr/VRDisplay.cpp:77: if (request_vsync_on_resume_) { On 2017/06/08 03:26:30, mthiesse wrote: > ...
3 years, 6 months ago (2017-06-08 04:20:22 UTC) #10
haraken
LGTM on my side. Let's wait for an approval of mthiesse or bajones.
3 years, 6 months ago (2017-06-08 04:43:52 UTC) #11
bajones
LGTM
3 years, 6 months ago (2017-06-08 04:46:43 UTC) #12
ddorwin
Thanks, Bill! haraken: This seems like something that should be enforced by Blink somehow. Is ...
3 years, 6 months ago (2017-06-08 05:20:38 UTC) #14
haraken
On 2017/06/08 05:20:38, ddorwin wrote: > Thanks, Bill! > > haraken: This seems like something ...
3 years, 6 months ago (2017-06-08 05:24:15 UTC) #15
mthiesse
lgtm
3 years, 6 months ago (2017-06-08 14:05:54 UTC) #18
mthiesse
https://codereview.chromium.org/2926953002/diff/40001/third_party/WebKit/Source/modules/vr/VRDisplay.cpp File third_party/WebKit/Source/modules/vr/VRDisplay.cpp (right): https://codereview.chromium.org/2926953002/diff/40001/third_party/WebKit/Source/modules/vr/VRDisplay.cpp#newcode141 third_party/WebKit/Source/modules/vr/VRDisplay.cpp:141: DVLOG(2) << __FUNCTION__ Oh, sorry, my mistake. The patch ...
3 years, 6 months ago (2017-06-08 14:08:09 UTC) #19
billorr
https://codereview.chromium.org/2926953002/diff/40001/third_party/WebKit/Source/modules/vr/VRDisplay.cpp File third_party/WebKit/Source/modules/vr/VRDisplay.cpp (right): https://codereview.chromium.org/2926953002/diff/40001/third_party/WebKit/Source/modules/vr/VRDisplay.cpp#newcode141 third_party/WebKit/Source/modules/vr/VRDisplay.cpp:141: DVLOG(2) << __FUNCTION__ On 2017/06/08 14:08:09, mthiesse wrote: > ...
3 years, 6 months ago (2017-06-08 18:22:35 UTC) #22
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/2926953002/60001
3 years, 6 months ago (2017-06-08 18:22:56 UTC) #23
commit-bot: I haz the power
3 years, 6 months ago (2017-06-08 20:12:25 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/dfb76f24c05c31ce433a30fc9b77...

Powered by Google App Engine
This is Rietveld 408576698