diff options
-rw-r--r-- | skia/ext/paint_simplifier.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/skia/ext/paint_simplifier.cc b/skia/ext/paint_simplifier.cc index c868257..8df91a8 100644 --- a/skia/ext/paint_simplifier.cc +++ b/skia/ext/paint_simplifier.cc @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include <limits> - #include "skia/ext/paint_simplifier.h" #include "third_party/skia/include/core/SkPaint.h" @@ -28,12 +26,6 @@ bool PaintSimplifier::filter(SkPaint* paint, Type type) { paint->setSubpixelText(false); paint->setLCDRenderText(false); - // Reduce filter level to medium or less. Note that reducing the filter to - // less than medium can have a negative effect on performance as the filtered - // image is not cached in this case. - paint->setFilterLevel( - std::min(paint->getFilterLevel(), SkPaint::kMedium_FilterLevel)); - paint->setMaskFilter(NULL); // Uncomment this line to shade simplified tiles pink during debugging. |