summaryrefslogtreecommitdiffstats
path: root/gfx/layers/composite/TextureHost.cpp
diff options
context:
space:
mode:
authorAndrew Osmond <aosmond@mozilla.com>2018-04-10 09:40:02 -0400
committerwolfbeast <mcwerewolf@gmail.com>2018-04-19 11:58:39 +0200
commite7189e33f533f9b974b22c2110b522a13bc4c7f6 (patch)
tree8e6b6f1e0929d73f3b0568c30b99415e825866a6 /gfx/layers/composite/TextureHost.cpp
parentd66d343e1b6a5c3be08f82a0ac2489a91c647d65 (diff)
downloadUXP-e7189e33f533f9b974b22c2110b522a13bc4c7f6.tar
UXP-e7189e33f533f9b974b22c2110b522a13bc4c7f6.tar.gz
UXP-e7189e33f533f9b974b22c2110b522a13bc4c7f6.tar.lz
UXP-e7189e33f533f9b974b22c2110b522a13bc4c7f6.tar.xz
UXP-e7189e33f533f9b974b22c2110b522a13bc4c7f6.zip
Bug 1388020. r=nical, a=RyanVM
Diffstat (limited to 'gfx/layers/composite/TextureHost.cpp')
-rw-r--r--gfx/layers/composite/TextureHost.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gfx/layers/composite/TextureHost.cpp b/gfx/layers/composite/TextureHost.cpp
index e7d87e238..c93037384 100644
--- a/gfx/layers/composite/TextureHost.cpp
+++ b/gfx/layers/composite/TextureHost.cpp
@@ -888,8 +888,7 @@ BufferTextureHost::Upload(nsIntRegion *aRegion)
mFirstSource = mCompositor->CreateDataTextureSource(mFlags|TextureFlags::RGB_FROM_YCBCR);
mFirstSource->SetOwner(this);
}
- mFirstSource->Update(surf, aRegion);
- return true;
+ return mFirstSource->Update(surf, aRegion);
}
RefPtr<DataTextureSource> srcY;