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

Unified Diff: device/vr/vr_display_impl.cc

Issue 2499793002: Refactoring how WebVR eye bounds are handled (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 | « device/vr/vr_display_impl.h ('k') | third_party/WebKit/Source/modules/vr/VRDisplay.cpp » ('j') | 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 1449c55f4b79c579435013905b88db5bfc868518..5f3b9499d2b4351ad937acb5cb84b7f7020b8751 100644
--- a/device/vr/vr_display_impl.cc
+++ b/device/vr/vr_display_impl.cc
@@ -61,11 +61,11 @@ void VRDisplayImpl::SubmitFrame(mojom::VRPosePtr pose) {
device_->SubmitFrame(std::move(pose));
}
-void VRDisplayImpl::UpdateLayerBounds(mojom::VRLayerBoundsPtr leftBounds,
- mojom::VRLayerBoundsPtr rightBounds) {
+void VRDisplayImpl::UpdateLayerBounds(mojom::VRLayerBoundsPtr left_bounds,
+ mojom::VRLayerBoundsPtr right_bounds) {
if (!device_->IsAccessAllowed(service_.get()))
return;
- device_->UpdateLayerBounds(std::move(leftBounds), std::move(rightBounds));
+ device_->UpdateLayerBounds(std::move(left_bounds), std::move(right_bounds));
}
}
« no previous file with comments | « device/vr/vr_display_impl.h ('k') | third_party/WebKit/Source/modules/vr/VRDisplay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698