aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/conicpaths.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/conicpaths.cpp')
-rw-r--r--gm/conicpaths.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/gm/conicpaths.cpp b/gm/conicpaths.cpp
index 9db2b5390f..c9b9061c7a 100644
--- a/gm/conicpaths.cpp
+++ b/gm/conicpaths.cpp
@@ -74,7 +74,7 @@ protected:
nearParabola->moveTo(0, -0);
nearParabola->conicTo(SkIntToScalar(0), SkIntToScalar(100),
SkIntToScalar(100), SkIntToScalar(100),
- 0.999);
+ 0.999f);
}
{
SkPath* thinEllipse = &fPaths.push_back();
@@ -153,6 +153,10 @@ protected:
canvas->restore();
}
+ virtual uint32_t onGetFlags() const SK_OVERRIDE {
+ return kSkipPDF_Flag;
+ }
+
private:
SkTArray<SkPath> fPaths;
typedef GM INHERITED;