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

Unified Diff: third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp

Issue 2712083002: color: Remove blink pre-conversion code (Closed)
Patch Set: Rebase Created 3 years, 10 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: third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp b/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp
index 736597bb7f0feaaaf3514527196d27038327c35a..0cfdafa76efce9aadba6393ef9b8d9252a85f7f7 100644
--- a/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp
@@ -15,10 +15,7 @@ void PaintGeneratedImage::draw(PaintCanvas* canvas,
const FloatRect& destRect,
const FloatRect& srcRect,
RespectImageOrientationEnum,
- ImageClampingMode,
- const ColorBehavior& colorBehavior) {
- // TODO(ccameron): This function should not ignore |colorBehavior|.
- // https://crbug.com/672306
+ ImageClampingMode) {
PaintCanvasAutoRestore ar(canvas, true);
canvas->clipRect(destRect);
canvas->translate(destRect.x(), destRect.y());
@@ -31,8 +28,6 @@ void PaintGeneratedImage::draw(PaintCanvas* canvas,
void PaintGeneratedImage::drawTile(GraphicsContext& context,
const FloatRect& srcRect) {
- // TODO(ccameron): This function should not ignore |context|'s color behavior.
- // https://crbug.com/672306
context.drawRecord(m_record.get());
}

Powered by Google App Engine
This is Rietveld 408576698