Commit 2d876139 authored by chrishenry@google.com's avatar chrishenry@google.com

Delete dead code (the first if branch) in Benchmark.CreateExpectations.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282810 0039d316-1c4b-4281-b951-d872f2087c98
parent aacc2588
......@@ -191,10 +191,7 @@ class Benchmark(command_line.Command):
By default, it will create an empty expectations set. Override to generate
custom expectations.
"""
if hasattr(cls, 'expectations'):
return cls.expectations
else:
return test_expectations.TestExpectations()
return test_expectations.TestExpectations()
def AddCommandLineArgs(parser):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment