| Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| index 9335bab924ed72289f459901c8c4606841715762..42572466a2df4ebf6ad62975c782419d0831d886 100644
|
| --- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| +++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| @@ -1525,6 +1525,7 @@ void CanvasRenderingContext2D::drawImageInternal(CanvasImageSource* imageSource,
|
|
|
| FloatRect dirtyRect = clipBounds;
|
| if (imageSource->isVideoElement()) {
|
| + // TODO(dshwang): unify video code into below code to composite correctly; crbug.com/407079
|
| drawVideo(static_cast<HTMLVideoElement*>(imageSource), srcRect, dstRect);
|
| computeDirtyRect(dstRect, clipBounds, &dirtyRect);
|
| } else {
|
|
|