Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: Source/WebKit/chromium/tests/OpaqueRectTrackingContentLayerDelegateTest.cpp

Issue 16357011: Remove support for -webkit-color-correction (which we've never supported on (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: resolve merge conflicts, obey brace style changes Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « Source/WebKit/chromium/tests/ImageLayerChromiumTest.cpp ('k') | Source/WebKit/chromium/tests/TransparencyWinTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698