From e597e7b5c82a73643e5bce4d51373c8cc32b820c Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Thu, 6 Mar 2014 19:56:58 +0000 Subject: [PATCH] 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 --- src/core/SkCanvas.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp index 3d347e590c..2ffd3e4916 100644 --- a/src/core/SkCanvas.cpp +++ b/src/core/SkCanvas.cpp @@ -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) {