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

Unified Diff: src/core/SkImageFilter.cpp

Issue 15600003: Remove SkImageFilter::getInputResult(), since its return value is not (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 7 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
« no previous file with comments | « include/core/SkImageFilter.h ('k') | src/effects/SkBicubicImageFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkImageFilter.cpp
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp
index 2d81026a566521f15065e912b2f36ef9b94ee0f4..37d1f44fd450ce7a4d96aabf34e19aae5d1e55e2 100644
--- a/src/core/SkImageFilter.cpp
+++ b/src/core/SkImageFilter.cpp
@@ -69,20 +69,6 @@ void SkImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const {
}
}
-SkBitmap SkImageFilter::getInputResult(int index, Proxy* proxy,
- const SkBitmap& src, const SkMatrix& ctm,
- SkIPoint* loc) {
- SkASSERT(index < fInputCount);
- SkImageFilter* input = getInput(index);
- SkBitmap result;
- if (input && input->filterImage(proxy, src, ctm, &result, loc)) {
- return result;
- } else {
- return src;
- }
-}
-
-
bool SkImageFilter::filterImage(Proxy* proxy, const SkBitmap& src,
const SkMatrix& ctm,
SkBitmap* result, SkIPoint* loc) {
« no previous file with comments | « include/core/SkImageFilter.h ('k') | src/effects/SkBicubicImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698