| Index: Source/WebKit/chromium/src/WebFrameImpl.cpp
|
| diff --git a/Source/WebKit/chromium/src/WebFrameImpl.cpp b/Source/WebKit/chromium/src/WebFrameImpl.cpp
|
| index 8dc397acbbf3b129b26c88de761e02ce0d83e908..7c179242d70c29cebd312d5d6c1cd5ba6025cf3a 100644
|
| --- a/Source/WebKit/chromium/src/WebFrameImpl.cpp
|
| +++ b/Source/WebKit/chromium/src/WebFrameImpl.cpp
|
| @@ -386,7 +386,7 @@ public:
|
| int totalHeight = numPages * (pageSizeInPixels.height() + 1) - 1;
|
|
|
| // Fill the whole background by white.
|
| - graphicsContext.setFillColor(Color(255, 255, 255), ColorSpaceDeviceRGB);
|
| + graphicsContext.setFillColor(Color::white);
|
| graphicsContext.fillRect(FloatRect(0, 0, pageWidth, totalHeight));
|
|
|
| graphicsContext.save();
|
| @@ -396,8 +396,8 @@ public:
|
| // Draw a line for a page boundary if this isn't the first page.
|
| if (pageIndex > 0) {
|
| graphicsContext.save();
|
| - graphicsContext.setStrokeColor(Color(0, 0, 255), ColorSpaceDeviceRGB);
|
| - graphicsContext.setFillColor(Color(0, 0, 255), ColorSpaceDeviceRGB);
|
| + graphicsContext.setStrokeColor(Color(0, 0, 255));
|
| + graphicsContext.setFillColor(Color(0, 0, 255));
|
| graphicsContext.drawLine(IntPoint(0, currentHeight), IntPoint(pageWidth, currentHeight));
|
| graphicsContext.restore();
|
| }
|
|
|