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

Unified Diff: Source/platform/geometry/FloatRoundedRect.h

Issue 1137513003: Apply bleed-avoidance insets _after_ constraining the border (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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: Source/platform/geometry/FloatRoundedRect.h
diff --git a/Source/platform/geometry/FloatRoundedRect.h b/Source/platform/geometry/FloatRoundedRect.h
index de1529d6fd24be4cd230ca5cde47af74f6404872..487253bdee4127d520b69ac36e5d52f57a505fab 100644
--- a/Source/platform/geometry/FloatRoundedRect.h
+++ b/Source/platform/geometry/FloatRoundedRect.h
@@ -116,6 +116,8 @@ public:
void expandRadii(float size) { m_radii.expand(size); }
void shrinkRadii(float size) { m_radii.shrink(size); }
+ void shrink(const FloatRectOutsets&);
+
// Returns a quickly computed rect enclosed by the rounded rect.
FloatRect radiusCenterRect() const;

Powered by Google App Engine
This is Rietveld 408576698