This patch also replaces the usage of nsISupportsWeakReference in RasterImage as an example. --HG-- extra : rebase_source : ac6a039dcc3227a04ac4c2221f38856bb308c695