| Index: third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp b/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp
|
| index 718787a9b93f11995677677ad35a31edab1a6a3a..62a6965fa237ed0c3493032ccc18a7339a90eadb 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp
|
| @@ -36,10 +36,7 @@ void GradientGeneratedImage::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) {
|
| SkRect visibleSrcRect = srcRect;
|
| if (!visibleSrcRect.intersect(
|
| SkRect::MakeIWH(m_size.width(), m_size.height())))
|
| @@ -66,10 +63,7 @@ void GradientGeneratedImage::drawTile(GraphicsContext& context,
|
| }
|
|
|
| bool GradientGeneratedImage::applyShader(PaintFlags& flags,
|
| - const SkMatrix& localMatrix,
|
| - const ColorBehavior& colorBehavior) {
|
| - // TODO(ccameron): This function should not ignore |colorBehavior|.
|
| - // https://crbug.com/672306
|
| + const SkMatrix& localMatrix) {
|
| DCHECK(m_gradient);
|
| m_gradient->applyToFlags(flags, localMatrix);
|
|
|
|
|