mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1135181: Remove unnecessary 'nsresult' return value from nsCSSRuleProcessor::Startup(), since it always succeeds. r=heycam
This commit is contained in:
parent
5c310df1f7
commit
2624adf3e5
@ -242,11 +242,7 @@ nsLayoutStatics::Initialize()
|
||||
return rv;
|
||||
}
|
||||
|
||||
rv = nsCSSRuleProcessor::Startup();
|
||||
if (NS_FAILED(rv)) {
|
||||
NS_ERROR("Could not initialize nsCSSRuleProcessor");
|
||||
return rv;
|
||||
}
|
||||
nsCSSRuleProcessor::Startup();
|
||||
|
||||
#ifdef MOZ_XUL
|
||||
rv = nsXULPopupManager::Init();
|
||||
|
@ -1101,13 +1101,11 @@ nsCSSRuleProcessor::ClearSheets()
|
||||
mSheets.Clear();
|
||||
}
|
||||
|
||||
/* static */ nsresult
|
||||
/* static */ void
|
||||
nsCSSRuleProcessor::Startup()
|
||||
{
|
||||
Preferences::AddBoolVarCache(&gSupportVisitedPseudo, VISITED_PSEUDO_PREF,
|
||||
true);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
static bool
|
||||
|
@ -65,7 +65,7 @@ public:
|
||||
public:
|
||||
nsresult ClearRuleCascades();
|
||||
|
||||
static nsresult Startup();
|
||||
static void Startup();
|
||||
static void Shutdown();
|
||||
static void FreeSystemMetrics();
|
||||
static bool HasSystemMetric(nsIAtom* aMetric);
|
||||
|
Loading…
Reference in New Issue
Block a user