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

Unified Diff: chrome/browser/android/vr_shell/vr_shell_delegate.cc

Issue 2550803002: WebVR: avoid race conditions for partially-initialized display (Closed)
Patch Set: Created 4 years 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 | « chrome/browser/android/vr_shell/vr_shell.cc ('k') | device/vr/android/gvr/gvr_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/vr_shell_delegate.cc
diff --git a/chrome/browser/android/vr_shell/vr_shell_delegate.cc b/chrome/browser/android/vr_shell/vr_shell_delegate.cc
index d7779a200728ea51394eecb97c42a29e7a1a134a..a5077eb12af779e0fd6593f699a356ea4a46d035 100644
--- a/chrome/browser/android/vr_shell/vr_shell_delegate.cc
+++ b/chrome/browser/android/vr_shell/vr_shell_delegate.cc
@@ -33,7 +33,7 @@ class GvrNonPresentingDelegate : public device::GvrDelegate {
uint32_t pose_index) override {}
void SetWebVRRenderSurfaceSize(int width, int height) override {}
gvr::Sizei GetWebVRCompositorSurfaceSize() override {
- return device::kFallbackRenderTargetSize; }
+ return device::kInvalidRenderTargetSize; }
gvr::GvrApi* gvr_api() override { return gvr_api_.get(); }
base::WeakPtr<GvrNonPresentingDelegate> GetWeakPtr() {
return weak_ptr_factory_.GetWeakPtr();
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell.cc ('k') | device/vr/android/gvr/gvr_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698