From 37ae8a4ebc0593bc0fb8704f5b070b6686f61f02 Mon Sep 17 00:00:00 2001 From: "prashant.n@samsung.com" Date: Tue, 7 Jan 2014 22:40:03 +0000 Subject: Remove presubmit checks from cc/PRESUBMIT.py which checked gfx structs by value. Subsequent patches will clean up all the gfx structs to be passed by ref. BUG=159273 Review URL: https://codereview.chromium.org/126073002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243415 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/PRESUBMIT.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'cc/PRESUBMIT.py') diff --git a/cc/PRESUBMIT.py b/cc/PRESUBMIT.py index 5b8100b..2dd1998 100644 --- a/cc/PRESUBMIT.py +++ b/cc/PRESUBMIT.py @@ -116,13 +116,6 @@ def CheckPassByValue(input_api, # Well-defined simple classes containing only <= 4 ints, or <= 2 floats. pass_by_value_types = ['base::Time', 'base::TimeTicks', - 'gfx::Point', - 'gfx::PointF', - 'gfx::Rect', - 'gfx::Size', - 'gfx::SizeF', - 'gfx::Vector2d', - 'gfx::Vector2dF', ] for f in input_api.AffectedSourceFiles(source_file_filter): -- cgit v1.1