Bug 1301628 - Corrects misc-argument-comment. r=dzbarsky

This commit is contained in:
Ninad Bhat[:ninad101] 2016-09-09 10:45:00 +02:00
Родитель 5286ffa8da
Коммит 15dca34ea9
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -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);
} }
} }
} }