Bug 1235859 - Add FrameSize to non-skia downscaler. r=edwin, a=ritu
authorSteve Singer <steve@ssinger.info>
Wed, 30 Dec 2015 14:46:54 -0500
changeset 304221 906fc0cacd8dda27c68cbd514daf3700df32855a
parent 304220 51f069f6fe912bdfa28604a94e047f0bcf467da7
child 304222 486e6901c1d903047b9b55a1ca59978f07ac6cef
push id5476
push usercbook@mozilla.com
push dateMon, 11 Jan 2016 14:52:19 +0000
treeherdermozilla-beta@56000c5e51e7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersedwin, ritu
bugs1235859
milestone44.0
Bug 1235859 - Add FrameSize to non-skia downscaler. r=edwin, a=ritu
image/Downscaler.h
--- a/image/Downscaler.h
+++ b/image/Downscaler.h
@@ -166,16 +166,17 @@ public:
 
   bool IsFrameComplete() const { return false; }
   uint8_t* RowBuffer() { return nullptr; }
   void ClearRow(uint32_t = 0) { }
   void CommitRow() { }
   bool HasInvalidation() const { return false; }
   DownscalerInvalidRect TakeInvalidRect() { return DownscalerInvalidRect(); }
   void ResetForNextProgressivePass() { }
+  const nsIntSize FrameSize() const { return nsIntSize(0, 0); }
 };
 
 #endif // MOZ_ENABLE_SKIA
 
 
 
 } // namespace image
 } // namespace mozilla