Commit 54f7c6bd authored by Patrick Monette's avatar Patrick Monette Committed by Commit Bot

Fix a wrong DCHECK in IncompatibleApplicationsHandler

The logic was incorrectly reversed.

Change-Id: I565779c96fd6cc55dfbb81f629df6b3a7864caa4
Reviewed-on: https://chromium-review.googlesource.com/957522Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: Patrick Monette <pmonette@chromium.org>
Cr-Commit-Position: refs/heads/master@{#542249}
parent 2931faae
...@@ -141,7 +141,7 @@ void IncompatibleApplicationsHandler::GetPluralString( ...@@ -141,7 +141,7 @@ void IncompatibleApplicationsHandler::GetPluralString(
const base::Value& callback_id = args->GetList()[0]; const base::Value& callback_id = args->GetList()[0];
int num_applications = args->GetList()[1].GetInt(); int num_applications = args->GetList()[1].GetInt();
DCHECK_GT(0, num_applications); DCHECK_GT(num_applications, 0);
ResolveJavascriptCallback( ResolveJavascriptCallback(
callback_id, callback_id,
......
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