Bug 1217307 - Remove some unnecessary null checks in rest of dom/. r=njn

This commit is contained in:
Birunthan Mohanathas
2015-11-19 09:13:49 +02:00
parent 87edb9df5e
commit e95885610b
20 changed files with 5 additions and 68 deletions

View File

@@ -1150,9 +1150,6 @@ void nsPluginInstanceOwner::AddToCARefreshTimer() {
if (!sCARefreshListeners) {
sCARefreshListeners = new nsTArray<nsPluginInstanceOwner*>();
if (!sCARefreshListeners) {
return;
}
}
if (sCARefreshListeners->Contains(this)) {
@@ -1163,9 +1160,6 @@ void nsPluginInstanceOwner::AddToCARefreshTimer() {
if (!sCATimer) {
sCATimer = new nsCOMPtr<nsITimer>();
if (!sCATimer) {
return;
}
}
if (sCARefreshListeners->Length() == 1) {