aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gm/inversepaths.cpp2
-rw-r--r--samplecode/SampleAll.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/gm/inversepaths.cpp b/gm/inversepaths.cpp
index 9a247e8192..f9d3ac7f9b 100644
--- a/gm/inversepaths.cpp
+++ b/gm/inversepaths.cpp
@@ -67,7 +67,7 @@ SkScalar strokeWidths[] = {
10,
0
};
-SkPath ((*paths[])(SkScalar, SkScalar, SkScalar)) = {
+SkPath (*paths[])(SkScalar, SkScalar, SkScalar) = {
generate_square,
generate_rect_line,
generate_circle,
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp
index f3d1083cb1..e1b85934b1 100644
--- a/samplecode/SampleAll.cpp
+++ b/samplecode/SampleAll.cpp
@@ -303,12 +303,12 @@ protected:
short utf16simple[] = {'u', 't', 'f', '1', '6', '!' };
makePath(path);
- SkTDArray<SkPoint>(pos);
+ SkTDArray<SkPoint> pos;
pos.setCount(asciiLength);
for (index = 0; index < asciiLength; index++)
pos[index].set(SkIntToScalar((unsigned int)index * 10),
SkIntToScalar((unsigned int)index * 2));
- SkTDArray<SkPoint>(pos2);
+ SkTDArray<SkPoint> pos2;
pos2.setCount(asciiLength);
for (index = 0; index < asciiLength; index++)
pos2[index].set(SkIntToScalar((unsigned int)index * 10),