[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / platform / graphics / texmap / coordinated / TiledBackingStore.cpp
index 3be4311..4a69782 100644 (file)
@@ -220,7 +220,7 @@ void TiledBackingStore::createTiles(const IntRect& visibleRect, const IntRect& s
     unsigned tilesToCreateCount = tilesToCreate.size();
     for (unsigned n = 0; n < tilesToCreateCount; ++n) {
         Tile::Coordinate coordinate = tilesToCreate[n];
-        m_tiles.add(coordinate, std::make_unique<Tile>(*this, coordinate));
+        m_tiles.add(coordinate, makeUnique<Tile>(*this, coordinate));
     }
     requiredTileCount -= tilesToCreateCount;