Bug 1235859 - Add FrameSize to non-skia downscaler. draft
authorSteve Singer <steve@ssinger.info>
Wed, 30 Dec 2015 14:46:54 -0500
changeset 318061 bc87647fea7920ca9021ca7eda3d1acf2fddcdb9
parent 318057 a068225cf7ed5bc74870a2cc0db969228f97ce32
child 512410 cd538cd5b6109c55fa8fdd6422e3e09c5bbc947c
push id8821
push usersteve@ssinger.info
push dateWed, 30 Dec 2015 19:51:29 +0000
bugs1235859
milestone46.0a1
Bug 1235859 - Add FrameSize to non-skia downscaler.
image/Downscaler.h
--- a/image/Downscaler.h
+++ b/image/Downscaler.h
@@ -166,17 +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 0; }
+  const nsIntSize FrameSize() const { return nsIntSize(0, 0); }
 };
 
 #endif // MOZ_ENABLE_SKIA
 
 
 
 } // namespace image
 } // namespace mozilla