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

Unified Diff: cc/paint/discardable_image_store.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/discardable_image_map_unittest.cc ('k') | cc/paint/paint_flags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/discardable_image_store.cc
diff --git a/cc/paint/discardable_image_store.cc b/cc/paint/discardable_image_store.cc
index 1545e32aba4dcbbe9f9dc62d78fc98871683d539..4f635fd68bcf43bdf32c269b2d3fb35575c09620 100644
--- a/cc/paint/discardable_image_store.cc
+++ b/cc/paint/discardable_image_store.cc
@@ -176,7 +176,7 @@ void DiscardableImageStore::GatherDiscardableImages(
// are not yet handled.
void DiscardableImageStore::AddImageFromFlags(const SkRect& rect,
const PaintFlags& flags) {
- SkShader* shader = flags.getShader();
+ SkShader* shader = flags.getSkShader();
if (shader) {
SkMatrix matrix;
SkShader::TileMode xy[2];
« no previous file with comments | « cc/paint/discardable_image_map_unittest.cc ('k') | cc/paint/paint_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698