Bug 1235859 - Add FrameSize to non-skia downscaler. r=edwin
authorSteve Singer <steve@ssinger.info>
Wed, 30 Dec 2015 14:46:54 -0500
changeset 278350 8418f85a3b173555efc3f683a1ebc0ee264f6503
parent 278349 ef5be3776c9afec2dd5e4a57f65d324977d01f7d
child 278351 d35b3ef1bdb6f6fe2856bfc3306f27398900b91b
push id29850
push usercbook@mozilla.com
push dateTue, 05 Jan 2016 10:59:10 +0000
treeherdermozilla-central@29258f59e545 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersedwin
bugs1235859
milestone46.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 1235859 - Add FrameSize to non-skia downscaler. r=edwin
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