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

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

Issue 2743363006: Clean up cc/paint interfaces (Closed)
Patch Set: Fix PaintControllerTest v2 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..1c1992e43d0c23f92dc38a13d1091a23a0793361 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(); }
+ const sk_sp<PaintRecord>& mask() const { return m_mask; }
// 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