aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-01-13 12:11:36 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-13 20:08:16 +0000
commitd4652ca1b7989af5ef4e81b0de4eba529f804618 (patch)
treec71346fc6da1a825e6bbe190652d4edaebc6fdb8 /include
parent2503ab6e92cb9893788d75a4062f1a8d7e6738d0 (diff)
Remove most modifiers of processors on GrPipelineBuilder
Change-Id: I2fc12a97d694e5c0d86c9a4e0818a058905c8cf0 Reviewed-on: https://skia-review.googlesource.com/6993 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrPaint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gpu/GrPaint.h b/include/gpu/GrPaint.h
index 0f3b525c1f..6897679e5d 100644
--- a/include/gpu/GrPaint.h
+++ b/include/gpu/GrPaint.h
@@ -199,7 +199,8 @@ public:
}
}
- operator GrPaint&&() { return std::move(*fPaint); }
+ operator GrPaint&&() && { return std::move(*fPaint); }
+ GrPaint& paint() { return *fPaint; }
private:
SkTLazy<GrPaint> fStorage;