mode code cleanup (100c / l, comments)

Review URL: https://codereview.chromium.org/26912005

git-svn-id: http://skia.googlecode.com/svn/trunk@11716 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/PdfViewer/SkPdfGraphicsState.cpp b/experimental/PdfViewer/SkPdfGraphicsState.cpp
index 498a6a7..9f3917b 100644
--- a/experimental/PdfViewer/SkPdfGraphicsState.cpp
+++ b/experimental/PdfViewer/SkPdfGraphicsState.cpp
@@ -6,9 +6,9 @@
  */
 
 #include "SkPdfGraphicsState.h"
-#include "SkPdfNativeTokenizer.h"
 
 #include "SkDashPathEffect.h"
+#include "SkPdfNativeTokenizer.h"
 
 SkPdfContext::SkPdfContext(SkPdfNativeDoc* doc)
     : fPdfDoc(doc)
@@ -26,17 +26,19 @@
         fNonStroking.applyGraphicsState(paint);
     }
 
-    // TODO(edisonn): get this from pdfContext->options,
+    // TODO(edisonn): Perf, we should load this option from pdfContext->options,
     // or pdfContext->addPaintOptions(&paint);
     paint->setAntiAlias(true);
 
     // TODO(edisonn): miter, ...
     if (stroking) {
         paint->setStrokeWidth(SkDoubleToScalar(fLineWidth));
-        // TODO(edisonn): perf, two sets of allocs, create SkDashPathEffect constr that takes ownership
+        // TODO(edisonn): perf, avoid allocs allocs
         // of the intervals
         if (fDashArrayLength > 0) {
-            paint->setPathEffect(new SkDashPathEffect(fDashArray, fDashArrayLength, fDashPhase))->unref();
+            paint->setPathEffect(new SkDashPathEffect(fDashArray,
+                                                      fDashArrayLength,
+                                                      fDashPhase))->unref();
         }
     }