From bbb7a3793b580ff9517fbe530dd02af4dd3d852d Mon Sep 17 00:00:00 2001 From: Anna Offenwanger Date: Thu, 23 Aug 2018 10:46:54 -0700 Subject: [PATCH] Correctly spell XREnvironmentIntegrationProvider Change spelling of XREnviromentIntegrationProvider to XREnvironmentIntegrationProvider. Because apparently it's spelled environ not enviro. Cq-Include-Trybots: luci.chromium.try:win_optional_gpu_tests_rel Change-Id: I001157b168e325aeab03ec9e1bb22532b8c25b45 Reviewed-on: https://chromium-review.googlesource.com/1186963 Reviewed-by: Michael Thiessen Reviewed-by: Daniel Cheng Commit-Queue: Anna Offenwanger Cr-Commit-Position: refs/heads/master@{#585532} --- resources/chromium/webxr-test.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/resources/chromium/webxr-test.js b/resources/chromium/webxr-test.js index e5d172599c171e..4b7707b49a5568 100644 --- a/resources/chromium/webxr-test.js +++ b/resources/chromium/webxr-test.js @@ -352,12 +352,13 @@ class MockRuntime { let dataProviderBinding = new mojo.Binding( device.mojom.XRFrameDataProvider, this, dataProviderRequest); - let enviromentProviderPtr = - new device.mojom.XREnviromentIntegrationProviderPtr(); - let enviromentProviderRequest = mojo.makeRequest(enviromentProviderPtr); - let enviromentProviderBinding = new mojo.Binding( - device.mojom.XREnviromentIntegrationProvider, this, - enviromentProviderRequest); + let environmentProviderPtr = + new device.mojom.XREnvironmentIntegrationProviderPtr(); + let environmentProviderRequest = + mojo.makeRequest(environmentProviderPtr); + let environmentProviderBinding = new mojo.Binding( + device.mojom.XREnvironmentIntegrationProvider, this, + environmentProviderRequest); let clientRequest = mojo.makeRequest(this.sessionClient_); @@ -365,7 +366,7 @@ class MockRuntime { session: { submitFrameSink: submit_frame_sink, dataProvider: dataProviderPtr, - enviromentProvider: enviromentProviderPtr, + environmentProvider: environmentProviderPtr, clientRequest: clientRequest, displayInfo: this.displayInfo_ }