Bug 971875 - Fix regression to HWC on b2g. r=sotaro

--HG--
extra : rebase_source : 8aaa3818d1dbfe1e07137010a7734a2da8dc3379