Bug 1207378 - Add FrameRect to non-skia version of BeginFrame. r=seth,a=lizzard
authorSteve Singer <steve@ssinger.info>
Wed, 30 Sep 2015 19:58:00 +0200
changeset 296222 5426b69fd7258c1454ad879ea80d12b28d293808
parent 296221 9afad3de5ea3f59970d33196db59ce66ca177f16
child 296223 4ee570d9a887d939a9fbd37f7f501d4cbd9b0f23
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersseth, lizzard
bugs1207378
milestone43.0a2
Bug 1207378 - Add FrameRect to non-skia version of BeginFrame. r=seth,a=lizzard
image/Downscaler.h
--- a/image/Downscaler.h
+++ b/image/Downscaler.h
@@ -151,17 +151,17 @@ public:
   {
     MOZ_RELEASE_ASSERT(false, "Skia is not enabled");
   }
 
   const nsIntSize& OriginalSize() const { return nsIntSize(); }
   const nsIntSize& TargetSize() const { return nsIntSize(); }
   const gfxSize& Scale() const { return gfxSize(1.0, 1.0); }
 
-  nsresult BeginFrame(const nsIntSize&, uint8_t*, bool, bool = false)
+  nsresult BeginFrame(const nsIntSize&, const Maybe<nsIntRect>&, uint8_t*, bool, bool = false)
   {
     return NS_ERROR_FAILURE;
   }
 
   uint8_t* RowBuffer() { return nullptr; }
   void ClearRow(uint32_t = 0);
   void CommitRow() { }
   bool HasInvalidation() const { return false; }