Bug 1188569: Drop unneeded MOZ_WARN_UNUSED_RESULT from from LookupBestMatch in SurfaceCache.cpp. r=seth
authorDaniel Holbert <dholbert@cs.stanford.edu>
Thu, 30 Jul 2015 12:35:19 -0700
changeset 255558 0c1094fe8b59d39354657903c8381296faad581b
parent 255557 ad7a4bbda021facbad8d48ea823bf3baa2504083
child 255559 782a677d2191efe11099cfd4017b7a900605f289
push id14346
push usercbook@mozilla.com
push dateFri, 31 Jul 2015 12:21:03 +0000
treeherderfx-team@97c79f717d2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersseth
bugs1188569
milestone42.0a1
Bug 1188569: Drop unneeded MOZ_WARN_UNUSED_RESULT from from LookupBestMatch in SurfaceCache.cpp. r=seth
image/SurfaceCache.cpp
--- a/image/SurfaceCache.cpp
+++ b/image/SurfaceCache.cpp
@@ -275,17 +275,16 @@ public:
 
   already_AddRefed<CachedSurface> Lookup(const SurfaceKey& aSurfaceKey)
   {
     nsRefPtr<CachedSurface> surface;
     mSurfaces.Get(aSurfaceKey, getter_AddRefs(surface));
     return surface.forget();
   }
 
-  MOZ_WARN_UNUSED_RESULT  // See bug 1185044.
   Pair<already_AddRefed<CachedSurface>, MatchType>
   LookupBestMatch(const SurfaceKey&      aSurfaceKey,
                   const Maybe<uint32_t>& aAlternateFlags)
   {
     // Try for an exact match first.
     nsRefPtr<CachedSurface> exactMatch;
     mSurfaces.Get(aSurfaceKey, getter_AddRefs(exactMatch));
     if (exactMatch && exactMatch->IsDecoded()) {