Fix inverted early return check in variations simulation code.

BUG=394855

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287694 0039d316-1c4b-4281-b951-d872f2087c98
parent db2e29cd
...@@ -571,7 +571,7 @@ void VariationsService::OnResourceRequestsAllowed() { ...@@ -571,7 +571,7 @@ void VariationsService::OnResourceRequestsAllowed() {
void VariationsService::PerformSimulationWithVersion( void VariationsService::PerformSimulationWithVersion(
scoped_ptr<variations::VariationsSeed> seed, scoped_ptr<variations::VariationsSeed> seed,
const base::Version& version) { const base::Version& version) {
if (version.IsValid()) if (!version.IsValid())
return; return;
const base::ElapsedTimer timer; const base::ElapsedTimer timer;
......
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