commit | 4469938e92d779dff05e745559e67907bbf21e78 | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Oct 31 17:28:30 2013 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Oct 31 17:28:30 2013 +0000 |
tree | c87072ff8cef5709436279a1f771160511debd2a | |
parent | 6fcbfcead5dc1b61fa5b4c139a1a3714e8c58091 [diff] [blame] |
Revert "Revert "add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning"" This reverts commit 1e787c38fa71f2a21fd728f1b1d620b9b09b0d3d. BUG= Review URL: https://codereview.chromium.org/54603004 git-svn-id: http://skia.googlecode.com/svn/trunk@12057 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/effects/SkBitmapAlphaThresholdShader.cpp b/src/effects/SkBitmapAlphaThresholdShader.cpp index 1b54425..226b317 100644 --- a/src/effects/SkBitmapAlphaThresholdShader.cpp +++ b/src/effects/SkBitmapAlphaThresholdShader.cpp
@@ -249,7 +249,7 @@ context->setMatrix(matrix); while (!iter.done()) { - SkRect rect = SkRect::MakeFromIRect(iter.rect()); + SkRect rect = SkRect::Make(iter.rect()); context->drawRect(grPaint, rect); iter.next(); }