#include "config.h"
#include "SourceProviderCache.h"
+#include "JSCInlines.h"
+
namespace JSC {
SourceProviderCache::~SourceProviderCache()
m_map.clear();
}
-void SourceProviderCache::add(int sourcePosition, PassOwnPtr<SourceProviderCacheItem> item)
+void SourceProviderCache::add(int sourcePosition, std::unique_ptr<SourceProviderCacheItem> item)
{
- m_map.add(sourcePosition, item);
+ m_map.add(sourcePosition, WTF::move(item));
}
}