diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/inspector/inspector_history.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/inspector/inspector_history.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/core/inspector/inspector_history.cc b/chromium/third_party/blink/renderer/core/inspector/inspector_history.cc index 92094437a39..e83d3053335 100644 --- a/chromium/third_party/blink/renderer/core/inspector/inspector_history.cc +++ b/chromium/third_party/blink/renderer/core/inspector/inspector_history.cc @@ -97,7 +97,8 @@ void InspectorHistory::AppendPerformedAction(Action* action) { } void InspectorHistory::MarkUndoableState() { - Perform(new UndoableStateMark(), IGNORE_EXCEPTION_FOR_TESTING); + Perform(MakeGarbageCollected<UndoableStateMark>(), + IGNORE_EXCEPTION_FOR_TESTING); } bool InspectorHistory::Undo(ExceptionState& exception_state) { |