Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp |
| diff --git a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp |
| index 02c63f865374ab1faae6fc7074fc11be8e81bad9..961d72829ed9aff481ceb4b2000ce1f2b55a6443 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp |
| +++ b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp |
| @@ -44,8 +44,8 @@ class OffscreenCanvasSurfaceReferenceFactory |
| } |
| void SatisfySequence(const cc::SurfaceSequence& sequence) const override { |
| - DCHECK(bridge_); |
| - bridge_->SatisfyCallback(sequence); |
| + if (bridge_) |
| + bridge_->SatisfyCallback(sequence); |
|
Fady Samuel
2017/05/26 20:47:57
maybe do this for require too?
Saman Sami
2017/05/29 17:48:22
I expect bridge_ to exist in RequireSequence. Sati
|
| } |
| base::WeakPtr<CanvasSurfaceLayerBridge> bridge_; |