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

Unified Diff: cc/paint/paint_flags.cc

Issue 2893083002: cc: Move SkShader construction to a single spot in PaintShader (Closed)
Patch Set: update Created 3 years, 6 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 | « cc/paint/paint_flags.h ('k') | cc/paint/paint_op_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/paint_flags.cc
diff --git a/cc/paint/paint_flags.cc b/cc/paint/paint_flags.cc
index e16a8bb8073b501d5538513b986713c3de7acf9e..03a5fe610fca8425ead9d08ca585ed9dc60c6510 100644
--- a/cc/paint/paint_flags.cc
+++ b/cc/paint/paint_flags.cc
@@ -16,7 +16,7 @@ bool PaintFlags::IsSimpleOpacity() const {
return false;
if (getPathEffect())
return false;
- if (getShader())
+ if (HasShader())
return false;
if (getMaskFilter())
return false;
« no previous file with comments | « cc/paint/paint_flags.h ('k') | cc/paint/paint_op_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698