зеркало из https://github.com/mozilla/pjs.git
Bug 712683 - Don't use GetMessage for SmsEvent implementation. r=mrbkap
This is fixing potential build errors on Windows because GetMessage is an method defined in the global scope. Kind of sad and scary :(
This commit is contained in:
Родитель
ed6f09c7bf
Коммит
935284c0c5
|
@ -39,8 +39,9 @@
|
|||
|
||||
interface nsIDOMMozSmsMessage;
|
||||
|
||||
[scriptable, uuid(34dda4c3-4683-4323-9ee3-2a7bfef7df3b)]
|
||||
[scriptable, uuid(fa8d1c86-85b1-4e5b-978c-12dd296cd1cc)]
|
||||
interface nsIDOMMozSmsEvent : nsIDOMEvent
|
||||
{
|
||||
[binaryname(MessageMoz)]
|
||||
readonly attribute nsIDOMMozSmsMessage message;
|
||||
};
|
||||
|
|
|
@ -77,7 +77,7 @@ SmsEvent::Init(const nsAString& aEventTypeArg, bool aCanBubbleArg,
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
SmsEvent::GetMessage(nsIDOMMozSmsMessage** aMessage)
|
||||
SmsEvent::GetMessageMoz(nsIDOMMozSmsMessage** aMessage)
|
||||
{
|
||||
NS_IF_ADDREF(*aMessage = mMessage);
|
||||
return NS_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче