author JerryShih <hshih@mozilla.com>
Sat, 28 May 2016 10:38:00 +0200
changeset 333179 6da38f357ecd7da12aff8c1c8d6386dc0a078c05
parent 327655 d07193493b6a48cddda8a3e7aa64650c85ab9e3b
child 336629 b641b321244f2cdf396ea3d2ae6755381a71d3b7
permissions -rw-r--r--
Bug 1187466 - check compositor status in TextureHost::lock(). r=dvander, a=sylvestre If the compositor is a nullptr during lock() call, it means that the compositor is not compatible with current textureHost. So return false in lock().

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.