зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1301628 - Corrects misc-argument-comment. r=dzbarsky
This commit is contained in:
Родитель
5286ffa8da
Коммит
15dca34ea9
|
@ -5982,8 +5982,8 @@ nsGlobalWindow::DispatchResizeEvent(const CSSIntSize& aSize)
|
||||||
CustomEvent* customEvent = static_cast<CustomEvent*>(domEvent.get());
|
CustomEvent* customEvent = static_cast<CustomEvent*>(domEvent.get());
|
||||||
customEvent->InitCustomEvent(cx,
|
customEvent->InitCustomEvent(cx,
|
||||||
NS_LITERAL_STRING("DOMWindowResize"),
|
NS_LITERAL_STRING("DOMWindowResize"),
|
||||||
/* bubbles = */ true,
|
/* aCanBubble = */ true,
|
||||||
/* cancelable = */ true,
|
/* aCancelable = */ true,
|
||||||
detailValue,
|
detailValue,
|
||||||
res);
|
res);
|
||||||
if (res.Failed()) {
|
if (res.Failed()) {
|
||||||
|
|
|
@ -111,8 +111,8 @@ DispatchCustomDOMEvent(Element* aFrameElement, const nsAString& aEventName,
|
||||||
ErrorResult res;
|
ErrorResult res;
|
||||||
event->InitCustomEvent(cx,
|
event->InitCustomEvent(cx,
|
||||||
aEventName,
|
aEventName,
|
||||||
/* bubbles = */ true,
|
/* aCanBubble = */ true,
|
||||||
/* cancelable = */ true,
|
/* aCancelable = */ true,
|
||||||
aDetailValue,
|
aDetailValue,
|
||||||
res);
|
res);
|
||||||
if (res.Failed()) {
|
if (res.Failed()) {
|
||||||
|
|
|
@ -1257,7 +1257,7 @@ Geolocation::Shutdown()
|
||||||
if (doc) {
|
if (doc) {
|
||||||
doc->RemoveSystemEventListener(NS_LITERAL_STRING("visibilitychange"),
|
doc->RemoveSystemEventListener(NS_LITERAL_STRING("visibilitychange"),
|
||||||
this,
|
this,
|
||||||
/* useCapture = */ true);
|
/* aUseCapture = */ true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче