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

Unified Diff: src/core/SkClipStack.cpp

Issue 1415413007: Revert of Fix up the clip mask manager's creation of paths (w.r.t. volatility) (Closed) Base URL: https://skia.googlesource.com/skia.git@mdb-simplify-cmm
Patch Set: Created 5 years, 2 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 | src/gpu/GrClipMaskManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkClipStack.cpp
diff --git a/src/core/SkClipStack.cpp b/src/core/SkClipStack.cpp
index 4227eeac68fc8a7b2101422c084966db8414a0d9..f54d57fd0ba5f9e8cae84155b43b33af09175ce9 100644
--- a/src/core/SkClipStack.cpp
+++ b/src/core/SkClipStack.cpp
@@ -136,17 +136,14 @@
switch (fType) {
case kEmpty_Type:
path->reset();
- path->setIsVolatile(true);
break;
case kRect_Type:
path->reset();
path->addRect(this->getRect());
- path->setIsVolatile(true);
break;
case kRRect_Type:
path->reset();
path->addRRect(fRRect);
- path->setIsVolatile(true);
break;
case kPath_Type:
*path = *fPath.get();
« no previous file with comments | « no previous file | src/gpu/GrClipMaskManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698