Commit c9b6055c authored by Fredrik Söderquist's avatar Fredrik Söderquist Committed by Commit Bot

Fix coding-style in SVGSMILElement::ParseCondition

Was missing a few braces.

Change-Id: If954d25e1d7bed42fa95b9b36489957dfcd5ab2d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1852213Reviewed-by: default avatarStephen Chenney <schenney@chromium.org>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#704635}
parent 1b7e6d75
......@@ -380,9 +380,9 @@ bool SVGSMILElement::ParseCondition(const String& value,
}
String condition_string;
SMILTime offset;
if (pos == kNotFound)
if (pos == kNotFound) {
condition_string = parse_string;
else {
} else {
condition_string = parse_string.Left(pos).StripWhiteSpace();
String offset_string = parse_string.Substring(pos + 1).StripWhiteSpace();
offset = ParseOffsetValue(offset_string);
......@@ -397,9 +397,9 @@ bool SVGSMILElement::ParseCondition(const String& value,
String base_id;
String name_string;
if (pos == kNotFound)
if (pos == kNotFound) {
name_string = condition_string;
else {
} else {
base_id = condition_string.Left(pos);
name_string = condition_string.Substring(pos + 1);
}
......
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