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

Unified Diff: third_party/WebKit/Source/modules/vr/VRStageParameters.cpp

Issue 2470233009: WTF/std normalization: replace WTF::Vector::first() with ::front() (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
Index: third_party/WebKit/Source/modules/vr/VRStageParameters.cpp
diff --git a/third_party/WebKit/Source/modules/vr/VRStageParameters.cpp b/third_party/WebKit/Source/modules/vr/VRStageParameters.cpp
index db8c9f16927fe5879e768306ebaaa0897c595ec2..597ab4efd20cb811a8c2dae5dae8763fbf69269c 100644
--- a/third_party/WebKit/Source/modules/vr/VRStageParameters.cpp
+++ b/third_party/WebKit/Source/modules/vr/VRStageParameters.cpp
@@ -18,7 +18,7 @@ VRStageParameters::VRStageParameters() : m_sizeX(0.0f), m_sizeZ(0.0f) {
void VRStageParameters::update(
const device::mojom::blink::VRStageParametersPtr& stage) {
m_standingTransform =
- DOMFloat32Array::create(&(stage->standingTransform.first()), 16);
+ DOMFloat32Array::create(&(stage->standingTransform.front()), 16);
m_sizeX = stage->sizeX;
m_sizeZ = stage->sizeZ;
}
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRPose.cpp ('k') | third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698