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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp

Issue 2727133002: Remove ColorBehavior argument to Image::imageForCurrentFrame (Closed)
Patch Set: Rebase Created 3 years, 9 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/core/svg/graphics/SVGImageForContainer.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp
index a7c01d2ff5cfd26e05646e592ed787b8e1fc1742..36bb45fd0559eb0b74b868198ba08769a382a437 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp
@@ -50,17 +50,12 @@ void SVGImageForContainer::drawPattern(GraphicsContext& context,
SkBlendMode op,
const FloatRect& dstRect,
const FloatSize& repeatSpacing) {
- // TODO(ccameron): This function should not ignore |context|'s color behavior.
- // https://crbug.com/667431
m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect,
scale, phase, op, dstRect, repeatSpacing,
m_url);
}
-sk_sp<SkImage> SVGImageForContainer::imageForCurrentFrame(
- const ColorBehavior& colorBehavior) {
- // TODO(ccameron): This function should not ignore |colorBehavior|.
- // https://crbug.com/667431
+sk_sp<SkImage> SVGImageForContainer::imageForCurrentFrame() {
return m_image->imageForCurrentFrameForContainer(m_url, size());
}

Powered by Google App Engine
This is Rietveld 408576698