aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkIntersectionHelper.h
diff options
context:
space:
mode:
authorGravatar deanm <deanm@chromium.org>2016-04-26 14:09:01 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-26 14:09:01 -0700
commit12670eb63b743283cf6f0e6e568c1713756e4006 (patch)
tree9904b5f60c5aa8f3ee7bbee3d1a4456f2c62eb1e /src/pathops/SkIntersectionHelper.h
parent0b55664afc854b03082c467505b1a811721bcd7a (diff)
pathops: Add missing header guards in two files.
Guards were missing in SkIntersectionHelper.h and SkPathOpsTSect.h. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1914873002 Review URL: https://codereview.chromium.org/1914873002
Diffstat (limited to 'src/pathops/SkIntersectionHelper.h')
-rw-r--r--src/pathops/SkIntersectionHelper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pathops/SkIntersectionHelper.h b/src/pathops/SkIntersectionHelper.h
index 647b94b35f..9a8a582af6 100644
--- a/src/pathops/SkIntersectionHelper.h
+++ b/src/pathops/SkIntersectionHelper.h
@@ -4,6 +4,9 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+#ifndef SkIntersectionHelper_DEFINED
+#define SkIntersectionHelper_DEFINED
+
#include "SkOpContour.h"
#include "SkOpSegment.h"
#include "SkPath.h"
@@ -106,3 +109,5 @@ public:
private:
SkOpSegment* fSegment;
};
+
+#endif