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

Unified Diff: Source/platform/LengthBox.h

Issue 305883002: Switch arguments to const Length references for performance (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/core/rendering/style/RenderStyle.cpp ('k') | Source/platform/LengthPoint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/LengthBox.h
diff --git a/Source/platform/LengthBox.h b/Source/platform/LengthBox.h
index abe76093e02c5b9ec0c8f24d347aa7ec2457729d..d1e405b85d87f51186a34114b4f701d1b51536f7 100644
--- a/Source/platform/LengthBox.h
+++ b/Source/platform/LengthBox.h
@@ -53,7 +53,7 @@ public:
{
}
- LengthBox(Length t, Length r, Length b, Length l)
+ LengthBox(const Length& t, const Length& r, const Length& b, const Length& l)
: m_left(l)
, m_right(r)
, m_top(t)
« no previous file with comments | « Source/core/rendering/style/RenderStyle.cpp ('k') | Source/platform/LengthPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698