[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / inspector / InspectorHistory.cpp
index 00d5f18..c8103dd 100644 (file)
@@ -61,7 +61,7 @@ ExceptionOr<void> InspectorHistory::perform(std::unique_ptr<Action> action)
 
 void InspectorHistory::markUndoableState()
 {
-    perform(std::make_unique<UndoableStateMark>());
+    perform(makeUnique<UndoableStateMark>());
 }
 
 ExceptionOr<void> InspectorHistory::undo()