mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1263200 - Reset the APZ pointer in the base widget to null if the compositor creation fails. r=mstange
MozReview-Commit-ID: LH26TsWYrVx --HG-- extra : rebase_source : 8606a8e52c38601a1725bf03a2b49c72631c2570
This commit is contained in:
parent
fd0feca4f6
commit
fbb1abf68d
@ -1286,6 +1286,7 @@ void nsBaseWidget::CreateCompositor(int aWidth, int aHeight)
|
||||
|
||||
if (!success || !lf) {
|
||||
NS_WARNING("Failed to create an OMT compositor.");
|
||||
mAPZC = nullptr;
|
||||
DestroyCompositor();
|
||||
mLayerManager = nullptr;
|
||||
mCompositorBridgeChild = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user