summaryrefslogtreecommitdiffstats
path: root/gfx/layers/composite
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-08-30 12:36:03 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-08-30 12:36:03 +0200
commitcc54bbe9524266ece289504b7c1633b990279d1e (patch)
treeb4aec1b7f561928b9244b981b0ae91eed177f807 /gfx/layers/composite
parent73b202b1e5688c0cff883873950f0261c50018e7 (diff)
downloadUXP-cc54bbe9524266ece289504b7c1633b990279d1e.tar
UXP-cc54bbe9524266ece289504b7c1633b990279d1e.tar.gz
UXP-cc54bbe9524266ece289504b7c1633b990279d1e.tar.lz
UXP-cc54bbe9524266ece289504b7c1633b990279d1e.tar.xz
UXP-cc54bbe9524266ece289504b7c1633b990279d1e.zip
Revert "Bug 1388020. r=nical, a=RyanVM"
This reverts commit e7189e33f533f9b974b22c2110b522a13bc4c7f6.
Diffstat (limited to 'gfx/layers/composite')
-rw-r--r--gfx/layers/composite/TextureHost.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/layers/composite/TextureHost.cpp b/gfx/layers/composite/TextureHost.cpp
index e4a2ffd86..b342f1d18 100644
--- a/gfx/layers/composite/TextureHost.cpp
+++ b/gfx/layers/composite/TextureHost.cpp
@@ -890,7 +890,8 @@ BufferTextureHost::Upload(nsIntRegion *aRegion)
mFirstSource = mCompositor->CreateDataTextureSource(mFlags|TextureFlags::RGB_FROM_YCBCR);
mFirstSource->SetOwner(this);
}
- return mFirstSource->Update(surf, aRegion);
+ mFirstSource->Update(surf, aRegion);
+ return true;
}
RefPtr<DataTextureSource> srcY;