Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/Gradient.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/Gradient.h b/third_party/WebKit/Source/platform/graphics/Gradient.h |
| index 49e0f740ab84df171045dfcd1c74eab573fa7e70..fdb4663aaecbd9915d51635cf929c8c637fb322b 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/Gradient.h |
| +++ b/third_party/WebKit/Source/platform/graphics/Gradient.h |
| @@ -126,7 +126,7 @@ private: |
| Gradient(const FloatPoint& p0, const FloatPoint& p1); |
| Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio); |
| - SkShader* shader(); |
| + PassRefPtr<SkShader> refShader(); |
|
jbroman
2016/03/17 17:19:13
nit: didn't notice this earlier, but do we have th
Stephen White
2016/03/17 17:50:40
I don't think we have ref...() as a verb elsewhere
f(malita)
2016/03/17 18:04:42
Probably not a common pattern in Blink. I was pla
f(malita)
2016/03/17 18:04:42
Done.
|
| void destroyShader(); |
| void sortStopsIfNecessary(); |