Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Unified Diff: src/pathops/SkPathOpsTSect.h

Issue 1034073004: add legacy pathop enums; fix uninitialized warning (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: temporarily define legacy pathops all the time Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/pathops/SkPathOps.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pathops/SkPathOpsTSect.h
diff --git a/src/pathops/SkPathOpsTSect.h b/src/pathops/SkPathOpsTSect.h
index 5f2730a832d9ae75df3c0172104e9e60604ad24c..b709a602e3ddb4c5a85ff958e27e35f9f4a85fae 100644
--- a/src/pathops/SkPathOpsTSect.h
+++ b/src/pathops/SkPathOpsTSect.h
@@ -1022,7 +1022,7 @@ SkTSpan<TCurve>* SkTSect<TCurve>::extractCoincident(SkTSect* sect2, SkTSpan<TCur
}
// march outwards to find limit of coincidence from here to previous and next spans
double startT = first->fStartT;
- double oppStartT;
+ double oppStartT SK_INIT_TO_AVOID_WARNING;
double oppEndT SK_INIT_TO_AVOID_WARNING;
SkTSpan<TCurve>* prev = first->fPrev;
SkASSERT(first->fCoinStart.isCoincident());
« no previous file with comments | « include/pathops/SkPathOps.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698