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

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

Issue 2802443002: Compute rounded-ness of visual rects (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/FloatClipRect.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/FloatClipRect.h b/third_party/WebKit/Source/platform/graphics/paint/FloatClipRect.h
index 954201d64ce75836afe4e83cf622804b8856e549..d1661857f677cb1db3f381688adbcc3254f36ea9 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/FloatClipRect.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/FloatClipRect.h
@@ -25,6 +25,8 @@ class PLATFORM_EXPORT FloatClipRect {
const FloatRect& rect() const { return m_rect; }
+ FloatRect& rect() { return m_rect; }
+
void intersect(const FloatRect& other) {
if (m_isInfinite) {
m_rect = other;

Powered by Google App Engine
This is Rietveld 408576698