зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1143789. Remove unnecessary cast to BasicLayerManager. r=mstange
--HG-- extra : rebase_source : ca8d18b5aae563a74f913f5b112c6e7c2bcea8f6
This commit is contained in:
Родитель
ba908a867f
Коммит
735ab827c5
|
@ -3604,8 +3604,7 @@ FrameLayerBuilder::StoreDataForFrame(nsIFrame* aFrame,
|
|||
FrameLayerBuilder::ClippedDisplayItem::~ClippedDisplayItem()
|
||||
{
|
||||
if (mInactiveLayerManager) {
|
||||
BasicLayerManager* basic = static_cast<BasicLayerManager*>(mInactiveLayerManager.get());
|
||||
basic->SetUserData(&gLayerManagerLayerBuilder, nullptr);
|
||||
mInactiveLayerManager->SetUserData(&gLayerManagerLayerBuilder, nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче