gecko-dev/toolkit/components/downloads
Nicholas Nethercote 3b0485fcdb Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj.
Slightly less than half (93 / 210) of the NS_METHOD instances in the codebase
are because of the use of NS_CALLBACK in
nsI{Input,Output,UnicharInput},Stream.idl. The use of __stdcall on Win32 isn't
important for these callbacks because they are only used as arguments to
[noscript] methods.

This patch converts them to vanilla |nsresult| functions. It increases the size
of xul.dll by about ~600 bytes, which is about 0.001%.

--HG--
extra : rebase_source : c15d85298e0975fd030cd8f8f8e54501f453959b
2016-08-12 17:36:22 +10:00
..
test/unit Bug 1274112 - Part 1: Make update request v4. r=francois 2016-08-04 18:10:06 +08:00
ApplicationReputation.cpp Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj. 2016-08-12 17:36:22 +10:00
ApplicationReputation.h Bug 1275744 - Reference MOZ_LOG in toolkit comments. r=erahm 2016-05-26 11:14:47 -07:00
csd.pb.cc
csd.pb.h
csd.proto
generate_csd.sh
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
nsDownloadManager.cpp Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
nsDownloadManager.h
nsDownloadManagerUI.js
nsDownloadManagerUI.manifest
nsDownloadProxy.h Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj. 2016-08-08 10:54:47 +10:00
nsDownloadScanner.cpp
nsDownloadScanner.h
nsIApplicationReputation.idl
nsIDownload.idl
nsIDownloadManager.idl
nsIDownloadManagerUI.idl
nsIDownloadProgressListener.idl
SQLFunctions.cpp
SQLFunctions.h