| Index: Source/WebKit/chromium/tests/OpaqueRectTrackingContentLayerDelegateTest.cpp
|
| diff --git a/Source/WebKit/chromium/tests/OpaqueRectTrackingContentLayerDelegateTest.cpp b/Source/WebKit/chromium/tests/OpaqueRectTrackingContentLayerDelegateTest.cpp
|
| index 16352759cb26c81b9315d3f639b3b1cc29e517e5..5ad9b41e097cccd47ef483ab1e7a74a94cffa2bc 100644
|
| --- a/Source/WebKit/chromium/tests/OpaqueRectTrackingContentLayerDelegateTest.cpp
|
| +++ b/Source/WebKit/chromium/tests/OpaqueRectTrackingContentLayerDelegateTest.cpp
|
| @@ -66,8 +66,8 @@ struct PaintFillOpaque : public PaintCallback {
|
| Color opaque(255, 0, 0, 255);
|
| IntRect top(contentRect.x(), contentRect.y(), contentRect.width(), contentRect.height() / 2);
|
| IntRect bottom(contentRect.x(), contentRect.y() + contentRect.height() / 2, contentRect.width(), contentRect.height() / 2);
|
| - context.fillRect(top, opaque, ColorSpaceDeviceRGB);
|
| - context.fillRect(bottom, opaque, ColorSpaceDeviceRGB);
|
| + context.fillRect(top, opaque);
|
| + context.fillRect(bottom, opaque);
|
| }
|
| };
|
|
|
| @@ -75,7 +75,7 @@ struct PaintFillAlpha : public PaintCallback {
|
| virtual void operator()(GraphicsContext& context, const IntRect& contentRect)
|
| {
|
| Color alpha(0, 0, 0, 0);
|
| - context.fillRect(contentRect, alpha, ColorSpaceDeviceRGB);
|
| + context.fillRect(contentRect, alpha);
|
| }
|
| };
|
|
|
| @@ -88,13 +88,13 @@ struct PaintFillPartialOpaque : public PaintCallback {
|
| virtual void operator()(GraphicsContext& context, const IntRect& contentRect)
|
| {
|
| Color alpha(0, 0, 0, 0);
|
| - context.fillRect(contentRect, alpha, ColorSpaceDeviceRGB);
|
| + context.fillRect(contentRect, alpha);
|
|
|
| IntRect fillOpaque = m_opaqueRect;
|
| fillOpaque.intersect(contentRect);
|
|
|
| Color opaque(255, 255, 255, 255);
|
| - context.fillRect(fillOpaque, opaque, ColorSpaceDeviceRGB);
|
| + context.fillRect(fillOpaque, opaque);
|
| }
|
|
|
| IntRect m_opaqueRect;
|
|
|