зеркало из https://github.com/mozilla/gecko-dev.git
Bug 711488 - Replace some forgotten PR_TRUE with true in dom/battery && dom/sms r=mounir
This commit is contained in:
Родитель
2166d4e5c8
Коммит
6562304b10
|
@ -166,7 +166,7 @@ BatteryManager::DispatchTrustedEventToSelf(const nsAString& aEventName)
|
|||
nsresult rv = event->InitEvent(aEventName, false, false);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
rv = event->SetTrusted(PR_TRUE);
|
||||
rv = event->SetTrusted(true);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
bool dummy;
|
||||
|
|
|
@ -137,7 +137,7 @@ SmsManager::DispatchTrustedSmsEventToSelf(const nsAString& aEventName, nsIDOMMoz
|
|||
false, aMessage);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
rv = event->SetTrusted(PR_TRUE);
|
||||
rv = event->SetTrusted(true);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
bool dummy;
|
||||
|
|
Загрузка…
Ссылка в новой задаче