Bug 552605 - Fix some whitespace issues that crept in. r=jrmuizel

This commit is contained in:
Joe Drew 2011-06-30 21:58:23 -04:00
Родитель 9f4562e96e
Коммит 1539151373
2 изменённых файлов: 13 добавлений и 8 удалений

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

@ -290,7 +290,8 @@ class nsProgressNotificationProxy : public nsIProgressEventSink
public: public:
nsProgressNotificationProxy(nsIChannel* channel, nsProgressNotificationProxy(nsIChannel* channel,
imgIRequest* proxy) imgIRequest* proxy)
: mImageRequest(proxy) { : mImageRequest(proxy)
{
channel->GetNotificationCallbacks(getter_AddRefs(mOriginalCallbacks)); channel->GetNotificationCallbacks(getter_AddRefs(mOriginalCallbacks));
} }
@ -314,7 +315,8 @@ NS_IMETHODIMP
nsProgressNotificationProxy::OnProgress(nsIRequest* request, nsProgressNotificationProxy::OnProgress(nsIRequest* request,
nsISupports* ctxt, nsISupports* ctxt,
PRUint64 progress, PRUint64 progress,
PRUint64 progressMax) { PRUint64 progressMax)
{
nsCOMPtr<nsILoadGroup> loadGroup; nsCOMPtr<nsILoadGroup> loadGroup;
request->GetLoadGroup(getter_AddRefs(loadGroup)); request->GetLoadGroup(getter_AddRefs(loadGroup));
@ -332,7 +334,8 @@ NS_IMETHODIMP
nsProgressNotificationProxy::OnStatus(nsIRequest* request, nsProgressNotificationProxy::OnStatus(nsIRequest* request,
nsISupports* ctxt, nsISupports* ctxt,
nsresult status, nsresult status,
const PRUnichar* statusArg) { const PRUnichar* statusArg)
{
nsCOMPtr<nsILoadGroup> loadGroup; nsCOMPtr<nsILoadGroup> loadGroup;
request->GetLoadGroup(getter_AddRefs(loadGroup)); request->GetLoadGroup(getter_AddRefs(loadGroup));
@ -350,7 +353,8 @@ NS_IMETHODIMP
nsProgressNotificationProxy::AsyncOnChannelRedirect(nsIChannel *oldChannel, nsProgressNotificationProxy::AsyncOnChannelRedirect(nsIChannel *oldChannel,
nsIChannel *newChannel, nsIChannel *newChannel,
PRUint32 flags, PRUint32 flags,
nsIAsyncVerifyRedirectCallback *cb) { nsIAsyncVerifyRedirectCallback *cb)
{
// Tell the original original callbacks about it too // Tell the original original callbacks about it too
nsCOMPtr<nsILoadGroup> loadGroup; nsCOMPtr<nsILoadGroup> loadGroup;
newChannel->GetLoadGroup(getter_AddRefs(loadGroup)); newChannel->GetLoadGroup(getter_AddRefs(loadGroup));
@ -370,7 +374,8 @@ nsProgressNotificationProxy::AsyncOnChannelRedirect(nsIChannel *oldChannel,
NS_IMETHODIMP NS_IMETHODIMP
nsProgressNotificationProxy::GetInterface(const nsIID& iid, nsProgressNotificationProxy::GetInterface(const nsIID& iid,
void** result) { void** result)
{
if (iid.Equals(NS_GET_IID(nsIProgressEventSink))) { if (iid.Equals(NS_GET_IID(nsIProgressEventSink))) {
*result = static_cast<nsIProgressEventSink*>(this); *result = static_cast<nsIProgressEventSink*>(this);
NS_ADDREF_THIS(); NS_ADDREF_THIS();