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

Unified Diff: device/vr/vr_display_impl_unittest.cc

Issue 2729523002: Re-land^2 WebVR compositor bypass via BrowserMain context + mailbox (Closed)
Patch Set: Rebase to 11e28fd6b9380b77273db51ef0b6ccc7ea341944 Created 3 years, 9 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 | « device/vr/vr_display_impl.cc ('k') | device/vr/vr_service.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/vr_display_impl_unittest.cc
diff --git a/device/vr/vr_display_impl_unittest.cc b/device/vr/vr_display_impl_unittest.cc
index f53fde62b7e5aa8bea29bb27bc0aeb26c6a5940e..05cad2f2d9709851a7f7ac276d03e358e960e8ba 100644
--- a/device/vr/vr_display_impl_unittest.cc
+++ b/device/vr/vr_display_impl_unittest.cc
@@ -47,9 +47,14 @@ class VRDisplayImplTest : public testing::Test {
}
void RequestPresent(VRDisplayImpl* display_impl) {
+ // TODO(klausw,mthiesse): set up a VRSubmitFrameClient here? Currently,
+ // the FakeVRDisplay doesn't access the submit client, so a nullptr
+ // is ok.
+ device::mojom::VRSubmitFrameClientPtr submit_client = nullptr;
display_impl->RequestPresent(
- true, base::Bind(&VRDisplayImplTest::onPresentComplete,
- base::Unretained(this)));
+ true, std::move(submit_client),
+ base::Bind(&VRDisplayImplTest::onPresentComplete,
+ base::Unretained(this)));
}
void ExitPresent(VRDisplayImpl* display_impl) { display_impl->ExitPresent(); }
« no previous file with comments | « device/vr/vr_display_impl.cc ('k') | device/vr/vr_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698