Commit 003d5a51 authored by Melissa Zhang's avatar Melissa Zhang Committed by Commit Bot

[Tablet Default Apps] DCHECK LT should be LE.

BUG=1019549

Change-Id: Icf40f16be92256fef4cd27a730e48b54ac10ec2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1933679Reviewed-by: default avatarMaggie Cai <mxcai@chromium.org>
Commit-Queue: Melissa Zhang <melzhang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#718516}
parent 5bc8f213
......@@ -115,7 +115,7 @@ IntentPickerAutoDisplayPref::QueryPlatform() {
int platform = 0;
pref_dict_->GetInteger(kPlatformKey, &platform);
DCHECK_GE(platform, static_cast<int>(Platform::kNone));
DCHECK_LT(platform, static_cast<int>(Platform::kMaxValue));
DCHECK_LE(platform, static_cast<int>(Platform::kMaxValue));
return static_cast<Platform>(platform);
}
......
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