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

Unified Diff: third_party/WebKit/Source/core/paint/ClipRect.h

Issue 2743733004: Revert of Reduce copying of local data structures in GeometryMapper and PaintLayerClipper. (Closed)
Patch Set: 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/core/paint/ClipRect.h
diff --git a/third_party/WebKit/Source/core/paint/ClipRect.h b/third_party/WebKit/Source/core/paint/ClipRect.h
index 0770bcb82ce2ac020a2a3758001561ed2a5b1c83..d1b13ab96c3d8e420f4e3af75ae4b0581b0bed0e 100644
--- a/third_party/WebKit/Source/core/paint/ClipRect.h
+++ b/third_party/WebKit/Source/core/paint/ClipRect.h
@@ -43,12 +43,7 @@
ClipRect(const LayoutRect& rect) : m_rect(rect), m_hasRadius(false) {}
ClipRect(const FloatClipRect& rect)
- : m_rect(rect.rect()), m_hasRadius(rect.hasRadius()) {}
-
- void setRect(const FloatClipRect& rect) {
- m_rect = LayoutRect(rect.rect());
- m_hasRadius = rect.hasRadius();
- }
+ : m_rect(LayoutRect(rect.rect())), m_hasRadius(rect.hasRadius()) {}
const LayoutRect& rect() const { return m_rect; }

Powered by Google App Engine
This is Rietveld 408576698