Commit 5849cfec authored by robert.bradford's avatar robert.bradford Committed by Commit bot

Add missing break statement in chromeos path switch

Following https://codereview.chromium.org/1129863003/ which added
support for loading an apply an ICC file based on EDID product id a new
entry was added to the chromeos paths switch statement. Unfortunately
the break statement was missing in the newly added case.

Failing to break from the switch statement triggered a DCHECK failure in
path_service.cc which would result in in asserts in builds where DCHECK
is fatal.

BUG=489643
TEST=None

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

Cr-Commit-Position: refs/heads/master@{#330549}
parent f1a2283b
......@@ -84,6 +84,7 @@ bool PathProvider(int key, base::FilePath* result) {
break;
case DIR_DEVICE_COLOR_CALIBRATION_PROFILES:
*result = base::FilePath(kDeviceColorProfileDirectory);
break;
default:
return false;
}
......
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