| 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 6440fd0179783da1ff76b152e8fa2d3cbc34081c..68f56d11a2a60657d28ce0825b69df65925ff1bc 100644
|
| --- a/chrome/browser/android/vr_shell/vr_shell_delegate.cc
|
| +++ b/chrome/browser/android/vr_shell/vr_shell_delegate.cc
|
| @@ -142,6 +142,14 @@ void VrShellDelegate::OnResume(JNIEnv* env, const JavaParamRef<jobject>& obj) {
|
| }
|
| }
|
|
|
| +void VrShellDelegate::UpdateNonPresentingContext(
|
| + JNIEnv* env,
|
| + const JavaParamRef<jobject>& obj,
|
| + jlong context) {
|
| + gvr_context* ctx = reinterpret_cast<gvr_context*>(context);
|
| + non_presenting_delegate_->UpdateContext(ctx);
|
| +}
|
| +
|
| void VrShellDelegate::Destroy(JNIEnv* env, const JavaParamRef<jobject>& obj) {
|
| delete this;
|
| }
|
|
|