SkTypes: extract SkTo

Change-Id: I8de790d5013db2105ad885fa2683303d7c250b09
Reviewed-on: https://skia-review.googlesource.com/133620
Reviewed-by: Mike Klein <mtklein@google.com>
diff --git a/src/effects/SkDashPathEffect.cpp b/src/effects/SkDashPathEffect.cpp
index c1f5f0a..8301592 100644
--- a/src/effects/SkDashPathEffect.cpp
+++ b/src/effects/SkDashPathEffect.cpp
@@ -6,12 +6,14 @@
  */
 
 #include "SkDashPathEffect.h"
+
 #include "SkDashImpl.h"
 #include "SkDashPathPriv.h"
 #include "SkFlattenablePriv.h"
 #include "SkReadBuffer.h"
-#include "SkWriteBuffer.h"
 #include "SkStrokeRec.h"
+#include "SkTo.h"
+#include "SkWriteBuffer.h"
 
 SkDashImpl::SkDashImpl(const SkScalar intervals[], int count, SkScalar phase)
         : fPhase(0)