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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h

Issue 2816533002: [SPv1] Fix return value for "fallback" case of inverted clips. (Closed)
Patch Set: none Created 3 years, 8 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/paint/GeometryMapper.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h b/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h
index 2856cc4d4e5fd98ac12d8890d8ef4eb312934fb1..559e131cb66d96ae1a13995ffb2d5843df1f2038 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h
@@ -138,7 +138,7 @@ class PLATFORM_EXPORT GeometryMapper {
// The output FloatClipRect may contain false positives for rounded-ness
// if a rounded clip is clipped out, and overly conservative results
// in the presences of transforms.
- static FloatClipRect LocalToAncestorClipRect(
+ static const FloatClipRect& LocalToAncestorClipRect(
const PropertyTreeState& local_transform_state,
const PropertyTreeState& ancestor_state);

Powered by Google App Engine
This is Rietveld 408576698