| Index: third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| index 553622a0dfa064f16522cfd8694dc7834f1abb48..e03cd281165bbd8542acd1c02fd1f3916060cd56 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| @@ -541,7 +541,7 @@ void VRDisplay::submitFrame() {
|
| // as implemented by AcceleratedStaticBitmapImage. Ensure this is
|
| // the case, don't attempt to render if using an unexpected drawing
|
| // path.
|
| - if (!image_ref->IsTextureBacked()) {
|
| + if (!image_ref.Get() || !image_ref->IsTextureBacked()) {
|
| NOTREACHED() << "WebVR requires hardware-accelerated rendering to texture";
|
| return;
|
| }
|
|
|