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 ae4acc523ce7317b1e0c39f8bad9a523af61170c..5099fec8f32be95c04c5d8c96c28ad85a398f070 100644 |
--- a/chrome/browser/android/vr_shell/vr_shell_delegate.cc |
+++ b/chrome/browser/android/vr_shell/vr_shell_delegate.cc |
@@ -31,6 +31,9 @@ class GvrNonPresentingDelegate : public device::GvrDelegate { |
const gvr::Rectf& right_bounds) override {} |
void SetGvrPoseForWebVr(const gvr::Mat4f& pose, |
uint32_t pose_index) override {} |
+ void SetWebVRRenderSurfaceSize(int width, int height) override {} |
+ gvr::Sizei GetWebVRCompositorSurfaceSize() override { |
+ return device::kFallbackRenderTargetSize; } |
gvr::GvrApi* gvr_api() override { return gvr_api_.get(); } |
base::WeakPtr<GvrNonPresentingDelegate> GetWeakPtr() { |
return weak_ptr_factory_.GetWeakPtr(); |