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

Unified Diff: device/vr/vr_display_impl.cc

Issue 2853013004: Re-enable webVR presentation for insecure origins. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/vr_display_impl.cc
diff --git a/device/vr/vr_display_impl.cc b/device/vr/vr_display_impl.cc
index 46542389da940711da252a54c4d87a4460f8fab2..ddbdbb537f3c106e73172c348dd2d0ea72f63ede 100644
--- a/device/vr/vr_display_impl.cc
+++ b/device/vr/vr_display_impl.cc
@@ -59,9 +59,7 @@ void VRDisplayImpl::OnDeactivate(mojom::VRDisplayEventReason reason) {
void VRDisplayImpl::RequestPresent(bool secure_origin,
mojom::VRSubmitFrameClientPtr submit_client,
const RequestPresentCallback& callback) {
- // TODO(mthiesse): Re-enable insecure origin support once webVR content
- // warnings are fixed. crbug.com/704937
- if (!device_->IsAccessAllowed(this) || !secure_origin) {
+ if (!device_->IsAccessAllowed(this)) {
callback.Run(false);
return;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698