Index: Source/core/paint/VideoPainter.cpp |
diff --git a/Source/core/paint/VideoPainter.cpp b/Source/core/paint/VideoPainter.cpp |
index 85d7d9d8f11ec98bebcc6b9a77233a2469cf7cae..684283306d1b81be63e32dbb7b65e7d4e1469ec3 100644 |
--- a/Source/core/paint/VideoPainter.cpp |
+++ b/Source/core/paint/VideoPainter.cpp |
@@ -39,7 +39,8 @@ void VideoPainter::paintReplaced(const PaintInfo& paintInfo, const LayoutPoint& |
bool clip = !contentRect.contains(rect); |
if (clip) { |
context->save(); |
- context->clip(contentRect); |
+ // TODO(chrishtr): this should be pixel-snapped. |
+ context->clip(FloatRect(contentRect)); |
} |
if (displayingPoster) { |