DeleteContentTransactionBase.cpp (936B)
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 5 6 #include "DeleteContentTransactionBase.h" 7 8 #include "EditorBase.h" 9 10 namespace mozilla { 11 12 DeleteContentTransactionBase::DeleteContentTransactionBase( 13 EditorBase& aEditorBase) 14 : mEditorBase(&aEditorBase) {} 15 16 NS_IMPL_CYCLE_COLLECTION_INHERITED(DeleteContentTransactionBase, 17 EditTransactionBase, mEditorBase) 18 19 NS_IMPL_ADDREF_INHERITED(DeleteContentTransactionBase, EditTransactionBase) 20 NS_IMPL_RELEASE_INHERITED(DeleteContentTransactionBase, EditTransactionBase) 21 NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DeleteContentTransactionBase) 22 NS_INTERFACE_MAP_END_INHERITING(EditTransactionBase) 23 24 } // namespace mozilla