Bug 840851 - Mark RasterImage::Initialize as static in RasterImage.cpp. r=joe
authorSeth Fowler <seth@mozilla.com>
Wed, 13 Feb 2013 14:03:37 -0800
changeset 131713 77a7ce6cbf81a95efe53339a51b540f0bec90e34
parent 131712 c89635394bdb2789e98f60a49b0bbd95483d413b
child 131714 25ba41772e0fcc72cd319edabd7fd2dff96449aa
push id2323
push userbbajaj@mozilla.com
push dateMon, 01 Apr 2013 19:47:02 +0000
treeherdermozilla-beta@7712be144d91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjoe
bugs840851
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 840851 - Mark RasterImage::Initialize as static in RasterImage.cpp. r=joe
image/src/RasterImage.cpp
--- a/image/src/RasterImage.cpp
+++ b/image/src/RasterImage.cpp
@@ -437,17 +437,17 @@ RasterImage::~RasterImage()
   num_containers--;
   total_source_bytes -= mSourceData.Length();
 
   if (NS_IsMainThread()) {
     DiscardTracker::Remove(&mDiscardTrackerNode);
   }
 }
 
-void
+/* static */ void
 RasterImage::Initialize()
 {
   InitPrefCaches();
 
   // Create our singletons now, so we don't have to worry about what thread
   // they're created on.
   DecodeWorker::Singleton();
 }