зеркало из https://github.com/mozilla/gecko-dev.git
(no bug) insert space before paren in 'switch(' and 'while(' in nsRuleNode.cpp. whitespace-only, no review, DONTBUILD
This commit is contained in:
Родитель
dbb9e4661b
Коммит
82ff072cdf
|
@ -5107,7 +5107,7 @@ nsRuleNode::ComputeDisplayData(void* aStartStruct,
|
|||
animIterationCount.unit == eCSSUnit_Unset) {
|
||||
animation->SetIterationCount(1.0f);
|
||||
} else if (animIterationCount.list) {
|
||||
switch(animIterationCount.list->mValue.GetUnit()) {
|
||||
switch (animIterationCount.list->mValue.GetUnit()) {
|
||||
case eCSSUnit_Enumerated:
|
||||
NS_ABORT_IF_FALSE(animIterationCount.list->mValue.GetIntValue() ==
|
||||
NS_STYLE_ANIMATION_ITERATION_COUNT_INFINITE,
|
||||
|
@ -8373,7 +8373,7 @@ nsRuleNode::ComputeSVGResetData(void* aStartStruct,
|
|||
case eCSSUnit_ListDep: {
|
||||
svgReset->mFilters.Clear();
|
||||
const nsCSSValueList* cur = filterValue->GetListValue();
|
||||
while(cur) {
|
||||
while (cur) {
|
||||
nsStyleFilter styleFilter;
|
||||
if (!SetStyleFilterToCSSValue(&styleFilter, cur->mValue, aContext,
|
||||
mPresContext, canStoreInRuleTree)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче