summaryrefslogtreecommitdiffstats
path: root/base/gfx/image_operations.cc
diff options
context:
space:
mode:
authorawalker@google.com <awalker@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-20 19:34:30 +0000
committerawalker@google.com <awalker@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-20 19:34:30 +0000
commit247e24728016f366f80bda88a3d4b8d7efd2dafe (patch)
tree55c4cd91a050f9abe230e62184bc85c793af8df1 /base/gfx/image_operations.cc
parent8448f1ae7fc731b8c02f66bb36bb4849096d61a6 (diff)
downloadchromium_src-247e24728016f366f80bda88a3d4b8d7efd2dafe.zip
chromium_src-247e24728016f366f80bda88a3d4b8d7efd2dafe.tar.gz
chromium_src-247e24728016f366f80bda88a3d4b8d7efd2dafe.tar.bz2
Merges in updated versions of Mac graphics platform classes, adds generic typedefs for use by higher level classes that just need to hold a reference (though does not yet refactor those classes).
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1099 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gfx/image_operations.cc')
-rw-r--r--base/gfx/image_operations.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/base/gfx/image_operations.cc b/base/gfx/image_operations.cc
index 4dde08c..e53f6ce 100644
--- a/base/gfx/image_operations.cc
+++ b/base/gfx/image_operations.cc
@@ -204,7 +204,6 @@ void ResizeFilter::ComputeFilters(int src_size,
// that the range covered by the filter won't necessarily cover any source
// pixel boundaries. Therefore, we use these clamped values (max of 1) for
// some computations.
- float clamped_src_support = std::min(1.0f, src_support);
float clamped_scale = std::min(1.0f, scale);
// Speed up the divisions below by turning them into multiplies.