Remove MCRec.fNext

No longer used.

R=reed@google.com, mtklein@google.com

Author: fmalita@chromium.org

Review URL: https://codereview.chromium.org/186973004

git-svn-id: http://skia.googlecode.com/svn/trunk@13690 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
commit-bot@chromium.org 2014-03-06 19:56:58 +00:00
parent 525bceebd8
commit e597e7b5c8

View File

@ -212,7 +212,6 @@ private:
*/
class SkCanvas::MCRec {
public:
MCRec* fNext;
int fFlags;
SkMatrix* fMatrix; // points to either fMatrixStorage or prev MCRec
SkRasterClip* fRasterClip; // points to either fRegionStorage or prev MCRec
@ -498,7 +497,6 @@ SkBaseDevice* SkCanvas::init(SkBaseDevice* device) {
fMCRec->fLayer = SkNEW_ARGS(DeviceCM, (NULL, 0, 0, NULL, NULL));
fMCRec->fTopLayer = fMCRec->fLayer;
fMCRec->fNext = NULL;
fSurfaceBase = NULL;
@ -742,7 +740,6 @@ int SkCanvas::internalSave(SaveFlags flags) {
MCRec* newTop = (MCRec*)fMCStack.push_back();
new (newTop) MCRec(fMCRec, flags); // balanced in restore()
newTop->fNext = fMCRec;
fMCRec = newTop;
if (SkCanvas::kClip_SaveFlag & flags) {