diff options
| author | Bryce Harrington <b.harrington@samsung.com> | 2014-04-22 13:34:32 -0700 |
|---|---|---|
| committer | Bryce Harrington <b.harrington@samsung.com> | 2014-04-23 02:34:21 -0700 |
| commit | 3f5ceb60f317316ab1c26763e3cc5863c021a759 (patch) | |
| tree | 8b82fad1c5772a79d7270c97be5876382746db90 /src | |
| parent | c62e3b5c30a7a6e980a146903182bce0df1bfb89 (diff) | |
skia-shapes: Prefer inclusion of Sk headers in .cpp over .h
This also helps us sidestep some skia header inclusion messes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/skia-shapes.cpp | 4 | ||||
| -rw-r--r-- | src/skia-shapes.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/skia-shapes.cpp b/src/skia-shapes.cpp index ade448c..74ddad3 100644 --- a/src/skia-shapes.cpp +++ b/src/skia-shapes.cpp @@ -1,3 +1,7 @@ +#include <config.h> + +#include <SkCanvas.h> + #include "skia-shapes.h" void skiaDrawCircle(caskbench_context_t *ctx, shapes_t *args) diff --git a/src/skia-shapes.h b/src/skia-shapes.h index b8fa213..f8651df 100644 --- a/src/skia-shapes.h +++ b/src/skia-shapes.h @@ -1,8 +1,6 @@ #ifndef __SKIA_SHAPES_H_ #define __SKIA_SHAPES_H_ -#include <SkCanvas.h> -#include <SkPaint.h> #include <cairo.h> #include <math.h> |