Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj
This commit is contained in:
@@ -144,8 +144,7 @@ HTMLOptionElement::Index()
|
||||
}
|
||||
|
||||
int32_t index = defaultIndex;
|
||||
MOZ_ALWAYS_TRUE(NS_SUCCEEDED(
|
||||
options->GetOptionIndex(this, 0, true, &index)));
|
||||
MOZ_ALWAYS_SUCCEEDS(options->GetOptionIndex(this, 0, true, &index));
|
||||
return index;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user