mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1713527
- Removed else after return in nsCSSProps::GetStringValue. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D119764
This commit is contained in:
parent
00d8ddfa98
commit
dbfecb35ea
@ -171,21 +171,20 @@ const nsCString& nsCSSProps::GetStringValue(nsCSSFontDesc aFontDescID) {
|
||||
MOZ_ASSERT(gFontDescTable, "no lookup table, needs addref");
|
||||
if (gFontDescTable) {
|
||||
return gFontDescTable->GetStringValue(int32_t(aFontDescID));
|
||||
} else {
|
||||
static nsDependentCString sNullStr("");
|
||||
return sNullStr;
|
||||
}
|
||||
static nsDependentCString sNullStr("");
|
||||
return sNullStr;
|
||||
}
|
||||
|
||||
const nsCString& nsCSSProps::GetStringValue(nsCSSCounterDesc aCounterDesc) {
|
||||
MOZ_ASSERT(gCounterDescTable, "no lookup table, needs addref");
|
||||
if (gCounterDescTable) {
|
||||
return gCounterDescTable->GetStringValue(int32_t(aCounterDesc));
|
||||
} else {
|
||||
static nsDependentCString sNullStr("");
|
||||
return sNullStr;
|
||||
}
|
||||
static nsDependentCString sNullStr("");
|
||||
return sNullStr;
|
||||
}
|
||||
|
||||
const CSSPropFlags nsCSSProps::kFlagsTable[eCSSProperty_COUNT] = {
|
||||
#define CSS_PROP_LONGHAND(name_, id_, method_, flags_, ...) flags_,
|
||||
#define CSS_PROP_SHORTHAND(name_, id_, method_, flags_, ...) flags_,
|
||||
|
Loading…
Reference in New Issue
Block a user