aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects')
-rw-r--r--src/effects/SkDashPathEffect.cpp4
-rw-r--r--src/effects/SkEmbossMask.cpp3
-rw-r--r--src/effects/SkPackBits.cpp3
-rw-r--r--src/effects/SkPaintFlagsDrawFilter.cpp2
-rw-r--r--src/effects/SkTableColorFilter.cpp4
5 files changed, 3 insertions, 13 deletions
diff --git a/src/effects/SkDashPathEffect.cpp b/src/effects/SkDashPathEffect.cpp
index 830159253a..c1f5f0a2cc 100644
--- a/src/effects/SkDashPathEffect.cpp
+++ b/src/effects/SkDashPathEffect.cpp
@@ -6,14 +6,12 @@
*/
#include "SkDashPathEffect.h"
-
#include "SkDashImpl.h"
#include "SkDashPathPriv.h"
#include "SkFlattenablePriv.h"
#include "SkReadBuffer.h"
-#include "SkStrokeRec.h"
-#include "SkTo.h"
#include "SkWriteBuffer.h"
+#include "SkStrokeRec.h"
SkDashImpl::SkDashImpl(const SkScalar intervals[], int count, SkScalar phase)
: fPhase(0)
diff --git a/src/effects/SkEmbossMask.cpp b/src/effects/SkEmbossMask.cpp
index d4e3741392..e081186564 100644
--- a/src/effects/SkEmbossMask.cpp
+++ b/src/effects/SkEmbossMask.cpp
@@ -5,11 +5,10 @@
* found in the LICENSE file.
*/
-#include "SkEmbossMask.h"
+#include "SkEmbossMask.h"
#include "SkFixed.h"
#include "SkMath.h"
-#include "SkTo.h"
static inline int nonzero_to_one(int x) {
#if 0
diff --git a/src/effects/SkPackBits.cpp b/src/effects/SkPackBits.cpp
index e46590956c..d2dfed9de1 100644
--- a/src/effects/SkPackBits.cpp
+++ b/src/effects/SkPackBits.cpp
@@ -4,11 +4,8 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
-
#include "SkPackBits.h"
-#include "SkTo.h"
-
size_t SkPackBits::ComputeMaxSize8(size_t srcSize) {
// worst case is the number of 8bit values + 1 byte per (up to) 128 entries.
return ((srcSize + 127) >> 7) + srcSize;
diff --git a/src/effects/SkPaintFlagsDrawFilter.cpp b/src/effects/SkPaintFlagsDrawFilter.cpp
index 12b8fbbf94..dc1c0074bc 100644
--- a/src/effects/SkPaintFlagsDrawFilter.cpp
+++ b/src/effects/SkPaintFlagsDrawFilter.cpp
@@ -6,9 +6,7 @@
*/
#include "SkPaintFlagsDrawFilter.h"
-
#include "SkPaint.h"
-#include "SkTo.h"
SkPaintFlagsDrawFilter::SkPaintFlagsDrawFilter(uint32_t clearFlags,
uint32_t setFlags) {
diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp
index fa68d11e51..5dbc784b0a 100644
--- a/src/effects/SkTableColorFilter.cpp
+++ b/src/effects/SkTableColorFilter.cpp
@@ -6,15 +6,13 @@
*/
#include "SkTableColorFilter.h"
-
+#include "SkPM4f.h"
#include "SkArenaAlloc.h"
#include "SkBitmap.h"
#include "SkColorData.h"
-#include "SkPM4f.h"
#include "SkRasterPipeline.h"
#include "SkReadBuffer.h"
#include "SkString.h"
-#include "SkTo.h"
#include "SkUnPreMultiply.h"
#include "SkWriteBuffer.h"