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

Unified Diff: third_party/WebKit/Source/platform/graphics/PlaceholderImage.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/PlaceholderImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/PlaceholderImage.cpp b/third_party/WebKit/Source/platform/graphics/PlaceholderImage.cpp
index dd2bab01b5b2cade43810c85872f14c94889b277..48f33db04130f7afd6aede79285bf6ac422bccec 100644
--- a/third_party/WebKit/Source/platform/graphics/PlaceholderImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/PlaceholderImage.cpp
@@ -54,10 +54,7 @@ void PlaceholderImage::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) {
if (!srcRect.intersects(FloatRect(0.0f, 0.0f,
static_cast<float>(m_size.width()),
static_cast<float>(m_size.height())))) {

Powered by Google App Engine
This is Rietveld 408576698