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

Unified Diff: src/core/SkCanvas.cpp

Issue 2267553002: remove unused field from SkDrawIter (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkCanvas.cpp
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp
index bc5e030430ac0b84e660afedfa8f43b70376ab1c..2564e3703303f9f8f84fc7f1e6a043adb0509676 100644
--- a/src/core/SkCanvas.cpp
+++ b/src/core/SkCanvas.cpp
@@ -320,7 +320,6 @@ class SkDrawIter : public SkDraw {
public:
SkDrawIter(SkCanvas* canvas) {
canvas = canvas->canvasForDrawIter();
- fCanvas = canvas;
canvas->updateDeviceCMCache();
fClipStack = canvas->fClipStack;
@@ -361,7 +360,6 @@ public:
const SkPaint* getPaint() const { return fPaint; }
private:
- SkCanvas* fCanvas;
const DeviceCM* fCurrLayer;
const SkPaint* fPaint; // May be null.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698