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

Unified Diff: third_party/WebKit/Source/platform/graphics/BoxReflection.h

Issue 2743363006: Clean up cc/paint interfaces (Closed)
Patch Set: Rebase Created 3 years, 9 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
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

Powered by Google App Engine
This is Rietveld 408576698