From 9eb182ac4bcdc38f71a603ba958ff889fbbf5d77 Mon Sep 17 00:00:00 2001 From: george Date: Fri, 20 Jun 2014 12:01:06 -0700 Subject: 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 --- src/gpu/GrAAConvexPathRenderer.h | 6 +++++- src/gpu/GrReducedClip.h | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'src/gpu') 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 -- cgit v1.2.3