diff options
author | 2014-06-20 12:01:06 -0700 | |
---|---|---|
committer | 2014-06-20 12:01:06 -0700 | |
commit | 9eb182ac4bcdc38f71a603ba958ff889fbbf5d77 (patch) | |
tree | 7269dd53bbb060464730ae6fa5d305b9562106da /src/gpu | |
parent | eecc35f988662f4fa82693ad36e908d637a7d3c1 (diff) |
Add some missing header include guards
BUG=skia:
R=reed@google.com, bsalomon@google.com, tfarina@chromium.org
Author: george@mozilla.com
Review URL: https://codereview.chromium.org/325843002
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrAAConvexPathRenderer.h | 6 | ||||
-rw-r--r-- | src/gpu/GrReducedClip.h | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/gpu/GrAAConvexPathRenderer.h b/src/gpu/GrAAConvexPathRenderer.h index 62394a3a74..4dd858509e 100644 --- a/src/gpu/GrAAConvexPathRenderer.h +++ b/src/gpu/GrAAConvexPathRenderer.h @@ -6,8 +6,10 @@ * found in the LICENSE file. */ -#include "GrPathRenderer.h" +#ifndef GrAAConvexPathRenderer_DEFINED +#define GrAAConvexPathRenderer_DEFINED +#include "GrPathRenderer.h" class GrAAConvexPathRenderer : public GrPathRenderer { public: @@ -24,3 +26,5 @@ protected: GrDrawTarget* target, bool antiAlias) SK_OVERRIDE; }; + +#endif diff --git a/src/gpu/GrReducedClip.h b/src/gpu/GrReducedClip.h index cbb03465fd..e3a28cc0c5 100644 --- a/src/gpu/GrReducedClip.h +++ b/src/gpu/GrReducedClip.h @@ -6,6 +6,9 @@ * found in the LICENSE file. */ +#ifndef GrReducedClip_DEFINED +#define GrReducedClip_DEFINED + #include "SkClipStack.h" #include "SkTLList.h" @@ -41,3 +44,5 @@ SK_API void ReduceClipStack(const SkClipStack& stack, bool* requiresAA = NULL); } // namespace GrReducedClip + +#endif |