projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
056c424
)
fix valgrind uninitialized issue
author
caryclark
<caryclark@google.com>
Mon, 13 Apr 2015 16:36:01 +0000
(09:36 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Mon, 13 Apr 2015 16:36:01 +0000
(09:36 -0700)
R=mtklein@google.com
BUG=skia:3654
Review URL: https://codereview.chromium.org/
1082753002
src/pathops/SkPathOpsTSect.h
patch
|
blob
|
history
diff --git
a/src/pathops/SkPathOpsTSect.h
b/src/pathops/SkPathOpsTSect.h
index
ae01a1d
..
9d63433
100644
(file)
--- a/
src/pathops/SkPathOpsTSect.h
+++ b/
src/pathops/SkPathOpsTSect.h
@@
-16,8
+16,8
@@
template<typename TCurve>
class SkTCoincident {
public:
- SkTCoincident()
- : fCoincident(false) {
+ SkTCoincident()
{
+ clear();
}
void clear() {
@@
-30,9
+30,8
@@
public:
}
void init() {
-
fCoincident = false
;
+
clear()
;
SkDEBUGCODE(fPerpPt.fX = fPerpPt.fY = SK_ScalarNaN);
- SkDEBUGCODE(fPerpT = SK_ScalarNaN);
}
void markCoincident() {