Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp |
| diff --git a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp |
| index 3d85460343ee69b82b0ae05d01995c03eb727b2f..f0749631ef926b8f37c8cbbba487c7ab1f9fe037 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp |
| +++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp |
| @@ -113,6 +113,7 @@ void StaticBitmapImage::copyToTexture(WebGraphicsContext3DProvider* provider, GL |
| gl->Flush(); |
| GLbyte syncToken[24]; |
| gl->GenSyncTokenCHROMIUM(fenceSync, syncToken); |
| + m_image = nullptr; |
|
Justin Novosad
2016/07/20 15:07:52
I think a better place for this would be at the en
xidachen
2016/07/20 15:28:24
I don't think that would work. I tried, and what h
Justin Novosad
2016/07/20 15:51:59
Sorry. Here you need to call switchStorageToMailbo
xidachen
2016/07/20 16:47:27
Right, that makes perfect sense, changed in the ne
|
| } |
| bool StaticBitmapImage::switchStorageToMailbox(WebGraphicsContext3DProvider* provider) |