Index: third_party/WebKit/Source/platform/graphics/BoxReflection.h |
diff --git a/third_party/WebKit/Source/platform/graphics/BoxReflection.h b/third_party/WebKit/Source/platform/graphics/BoxReflection.h |
index 7a6f7318886a347a5251876c2285246e73105e86..d572e82a09a118aa6ea7e8253254004f17f1c759 100644 |
--- a/third_party/WebKit/Source/platform/graphics/BoxReflection.h |
+++ b/third_party/WebKit/Source/platform/graphics/BoxReflection.h |
@@ -37,7 +37,7 @@ class PLATFORM_EXPORT BoxReflection { |
ReflectionDirection direction() const { return m_direction; } |
float offset() const { return m_offset; } |
- PaintRecord* mask() const { return m_mask.get(); } |
+ sk_sp<PaintRecord> mask() const { return m_mask; } |
danakj
2017/03/16 20:06:15
const& for returning so u can mask()->thing withou
|
// Returns a matrix which maps points between the original content and its |
// reflection. Reflections are self-inverse, so this matrix can be used to |