Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp |
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp |
index f6d87e408bf1756123c2c5f94cf4e2e186eeee74..da219d684678b699d63a30c8cc7aee96d2a5c4fe 100644 |
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp |
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp |
@@ -1394,7 +1394,7 @@ void CanvasRenderingContext2D::drawImage(CanvasImageSource* imageSource, |
if (srcRect.isEmpty()) |
return; |
- if (shouldDisableDeferral(imageSource) || image->imageForCurrentFrame()->isTextureBacked()) |
+ if (shouldDisableDeferral(imageSource) || image->isTextureBacked()) |
canvas()->disableDeferral(); |
validateStateStack(); |