| Index: Source/core/page/PrintContext.cpp
|
| diff --git a/Source/core/page/PrintContext.cpp b/Source/core/page/PrintContext.cpp
|
| index 2c196ff33ef4326ef2b7d6fc45ff461993b0cece..0a03e2223b823fa154a7f63751ef297d5f3fcbf7 100644
|
| --- a/Source/core/page/PrintContext.cpp
|
| +++ b/Source/core/page/PrintContext.cpp
|
| @@ -378,7 +378,7 @@ void PrintContext::spoolAllPagesWithBoundaries(Frame* frame, GraphicsContext& gr
|
| int totalHeight = pageRects.size() * (pageSizeInPixels.height() + 1) - 1;
|
|
|
| // Fill the whole background by white.
|
| - graphicsContext.setFillColor(Color(255, 255, 255), ColorSpaceDeviceRGB);
|
| + graphicsContext.setFillColor(Color(255, 255, 255));
|
| graphicsContext.fillRect(FloatRect(0, 0, pageWidth, totalHeight));
|
|
|
| graphicsContext.save();
|
| @@ -390,8 +390,8 @@ void PrintContext::spoolAllPagesWithBoundaries(Frame* frame, GraphicsContext& gr
|
| // 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();
|
|
|