File tree 4 files changed +0
-22
lines changed 4 files changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,6 @@ bool DidDrawCanvas::onDoSaveBehind(const SkRect* bounds) {
51
51
52
52
void DidDrawCanvas::willRestore () {}
53
53
54
- #ifdef SK_SUPPORT_LEGACY_CANVASMATRIX33
55
- void DidDrawCanvas::didConcat (const SkMatrix& matrix) {}
56
- void DidDrawCanvas::didSetMatrix (const SkMatrix& matrix) {}
57
- #endif
58
-
59
54
void DidDrawCanvas::didConcat44 (const SkM44&) {}
60
55
61
56
void DidDrawCanvas::didScale (SkScalar, SkScalar) {}
Original file line number Diff line number Diff line change @@ -70,10 +70,6 @@ class DidDrawCanvas final : public SkCanvasVirtualEnforcer<SkNoDrawCanvas> {
70
70
void willRestore () override ;
71
71
72
72
// |SkCanvasVirtualEnforcer<SkNoDrawCanvas>|
73
- #ifdef SK_SUPPORT_LEGACY_CANVASMATRIX33
74
- void didConcat (const SkMatrix&) override ;
75
- void didSetMatrix (const SkMatrix&) override ;
76
- #endif
77
73
void didConcat44 (const SkM44&) override ;
78
74
void didScale (SkScalar, SkScalar) override ;
79
75
void didTranslate (SkScalar, SkScalar) override ;
Original file line number Diff line number Diff line change @@ -56,15 +56,6 @@ void MockCanvas::willRestore() {
56
56
current_layer_--; // Must go here; func params order of eval is undefined
57
57
}
58
58
59
- #ifdef SK_SUPPORT_LEGACY_CANVASMATRIX33
60
- void MockCanvas::didConcat (const SkMatrix& matrix) {
61
- this ->didConcat44 (SkM44 (matrix));
62
- }
63
- void MockCanvas::didSetMatrix (const SkMatrix& matrix) {
64
- this ->didSetM44 (SkM44 (matrix));
65
- }
66
- #endif
67
-
68
59
void MockCanvas::didConcat44 (const SkM44& matrix) {
69
60
draw_calls_.emplace_back (DrawCall{current_layer_, ConcatMatrixData{matrix}});
70
61
}
Original file line number Diff line number Diff line change @@ -144,10 +144,6 @@ class MockCanvas : public SkCanvasVirtualEnforcer<SkCanvas> {
144
144
SaveLayerStrategy getSaveLayerStrategy (const SaveLayerRec& rec) override ;
145
145
void willRestore () override ;
146
146
void didRestore () override {}
147
- #ifdef SK_SUPPORT_LEGACY_CANVASMATRIX33
148
- void didConcat (const SkMatrix& matrix) override ;
149
- void didSetMatrix (const SkMatrix& matrix) override ;
150
- #endif
151
147
void didConcat44 (const SkM44&) override ;
152
148
void didSetM44 (const SkM44&) override ;
153
149
void didScale (SkScalar x, SkScalar y) override ;
You can’t perform that action at this time.
0 commit comments