aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkPathOpsTSect.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/SkPathOpsTSect.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/SkPathOpsTSect.h')
-rw-r--r--src/pathops/SkPathOpsTSect.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pathops/SkPathOpsTSect.h b/src/pathops/SkPathOpsTSect.h
index 074fe37654..01ab8c6590 100644
--- a/src/pathops/SkPathOpsTSect.h
+++ b/src/pathops/SkPathOpsTSect.h
@@ -4,6 +4,8 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+#ifndef SkPathOpsTSect_DEFINED
+#define SkPathOpsTSect_DEFINED
#include "SkChunkAlloc.h"
#include "SkPathOpsBounds.h"
@@ -2241,3 +2243,5 @@ void SkTSect<TCurve, OppCurve>::BinarySearch(SkTSect<TCurve, OppCurve>* sect1,
}
SkASSERT(intersections->used() <= TCurve::kMaxIntersections);
}
+
+#endif