Backed out changeset a9e7c8584256 (bug 1232635) for test failures in reftest crashtest-e10s

--HG--
extra : rebase_source : fcdd12ca2cf0936513c1969e8863893c5c52f5ab
This commit is contained in:
Carsten "Tomcat" Book 2016-02-10 10:11:03 +01:00
parent 7b7a27dd0f
commit 40d9c0386c

View File

@ -5850,7 +5850,7 @@ FrameLayerBuilder::DrawPaintedLayer(PaintedLayer* aLayer,
FlashPaint(aContext);
}
if (presContext->GetDocShell() && isActiveLayerManager) {
if (presContext && presContext->GetDocShell() && isActiveLayerManager) {
nsDocShell* docShell = static_cast<nsDocShell*>(presContext->GetDocShell());
RefPtr<TimelineConsumers> timelines = TimelineConsumers::Get();