Combine two validUnit calls
commit442ba161eeec7baf163c940680fee21ca42f2d91
authorrob.buis@samsung.com <rob.buis@samsung.com>
Wed, 18 Feb 2015 01:10:54 +0000 (18 01:10 +0000)
committerrob.buis@samsung.com <rob.buis@samsung.com>
Wed, 18 Feb 2015 01:10:54 +0000 (18 01:10 +0000)
tree56bdb2ed2a2bd0fd20c6cf8ec51d319d6e880523
parent6144dae6891f3440dd0a542d0f9d6e649adc0fb3
Combine two validUnit calls

It is less and more efficient code to just combine the
flags and call validUnit once.

BUG=404023

Review URL: https://codereview.chromium.org/920553002

git-svn-id: svn://svn.chromium.org/blink/trunk@190374 bbb929c8-8fbe-4397-9dbb-9b2b20218538
third_party/WebKit/LayoutTests/css3/calc/calc-numbers-expected.txt
third_party/WebKit/LayoutTests/css3/calc/calc-numbers.html
third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp