Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 6c0fc884e1a53472f3a3681df8537c69dc283c6a..57cf850fa0d6dfbccbcc1560158b7b3049ebbba6 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -830,10 +830,6 @@ int SkCanvas::internalSave(SaveFlags flags) { |
return saveCount; |
} |
-void SkCanvas::willSave(SaveFlags) { |
- // Do nothing. Subclasses may do something. |
-} |
- |
int SkCanvas::save() { |
this->willSave(kMatrixClip_SaveFlag); |
return this->internalSave(kMatrixClip_SaveFlag); |
@@ -897,12 +893,6 @@ bool SkCanvas::clipRectBounds(const SkRect* bounds, SaveFlags flags, |
return true; |
} |
-SkCanvas::SaveLayerStrategy SkCanvas::willSaveLayer(const SkRect*, const SkPaint*, SaveFlags) { |
- |
- // Do nothing. Subclasses may do something. |
- return kFullLayer_SaveLayerStrategy; |
-} |
- |
int SkCanvas::saveLayer(const SkRect* bounds, const SkPaint* paint) { |
SaveLayerStrategy strategy = this->willSaveLayer(bounds, paint, kARGB_ClipLayer_SaveFlag); |
return this->internalSaveLayer(bounds, paint, kARGB_ClipLayer_SaveFlag, false, strategy); |
@@ -999,10 +989,6 @@ int SkCanvas::saveLayerAlpha(const SkRect* bounds, U8CPU alpha, |
} |
} |
-void SkCanvas::willRestore() { |
- // Do nothing. Subclasses may do something. |
-} |
- |
void SkCanvas::restore() { |
// check for underflow |
if (fMCStack.count() > 1) { |
@@ -1344,10 +1330,6 @@ void SkCanvas::skew(SkScalar sx, SkScalar sy) { |
this->concat(m); |
} |
-void SkCanvas::didConcat(const SkMatrix&) { |
- // Do nothing. Subclasses may do something. |
-} |
- |
void SkCanvas::concat(const SkMatrix& matrix) { |
if (matrix.isIdentity()) { |
return; |
@@ -1360,10 +1342,6 @@ void SkCanvas::concat(const SkMatrix& matrix) { |
this->didConcat(matrix); |
} |
-void SkCanvas::didSetMatrix(const SkMatrix&) { |
- // Do nothing. Subclasses may do something. |
-} |
- |
void SkCanvas::setMatrix(const SkMatrix& matrix) { |
fDeviceCMDirty = true; |
fCachedLocalClipBoundsDirty = true; |