Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
| diff --git a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
| index e9b89e7fa8ec5881a70570e7158e1f190d053590..1f2940418b174d4ad0c917a4c2810085c9993842 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
| +++ b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
| @@ -270,6 +270,8 @@ bool RecordingImageBufferSurface::finalizeFrameInternal(FallbackReason* fallback |
| m_previousFrame = fromSkSp(m_currentFrame->finishRecordingAsPicture()); |
| initializeCurrentFrame(); |
| } |
| + if (!m_currentFrame.get()) |
| + *fallbackReason = FallbackReasonCurrentFrameNull; |
|
Justin Novosad
2016/07/04 14:01:05
I don't think this is right. If m_currentFrame is
xidachen
2016/07/04 14:06:36
I don't have a repro case. But from the histogram
Justin Novosad
2016/07/04 14:16:57
Let's do an experiment on the canary channel then:
xidachen
2016/07/04 14:36:37
Okay. Let's do the experiment then. I remove the c
|
| return m_currentFrame.get(); |
| } |