Bug 1315477 - Add a AsBasicLayerManager() function and use instead of static_casts. r=mattwoodrow
MozReview-Commit-ID: DV6XZBEXw85
This commit is contained in:
@@ -1081,7 +1081,7 @@ PuppetWidget::Paint()
|
||||
if (mTabChild) {
|
||||
mTabChild->NotifyPainted();
|
||||
}
|
||||
} else {
|
||||
} else if (mozilla::layers::LayersBackend::LAYERS_BASIC == mLayerManager->GetBackendType()) {
|
||||
RefPtr<gfxContext> ctx = gfxContext::CreateOrNull(mDrawTarget);
|
||||
if (!ctx) {
|
||||
gfxDevCrash(LogReason::InvalidContext) << "PuppetWidget context problem " << gfx::hexa(mDrawTarget);
|
||||
|
||||
Reference in New Issue
Block a user