[core] Use hand-rolled RTTI

This commit is contained in:
John Firebaugh
2018-07-24 10:09:25 -07:00
parent 2bbc792060
commit f6659c729f
28 changed files with 104 additions and 26 deletions

View File

@@ -142,7 +142,7 @@ void RenderRasterLayer::render(PaintParameters& parameters, RenderSource* source
}
} else {
for (const RenderTile& tile : renderTiles) {
auto bucket_ = dynamic_cast<RasterBucket*>(tile.tile.getBucket(*baseImpl));
auto bucket_ = tile.tile.getBucket<RasterBucket>(*baseImpl);
if (!bucket_) {
continue;
}