mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 845562 - nsFrameSelection doesn't need to inherit from nsISupports r=smaug
This commit is contained in:
parent
1a20d1b3c3
commit
fb135090eb
@ -7,6 +7,7 @@
|
||||
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
#include "mozilla/Selection.h"
|
||||
#include "nsIFrame.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsISelectionController.h"
|
||||
@ -185,13 +186,13 @@ class nsIScrollableFrame;
|
||||
* or they may cause other objects to be deleted.
|
||||
*/
|
||||
|
||||
class nsFrameSelection MOZ_FINAL : public nsISupports {
|
||||
class nsFrameSelection MOZ_FINAL {
|
||||
public:
|
||||
enum HINT { HINTLEFT = 0, HINTRIGHT = 1}; //end of this line or beginning of next
|
||||
/*interfaces for addref and release and queryinterface*/
|
||||
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
NS_DECL_CYCLE_COLLECTION_CLASS(nsFrameSelection)
|
||||
NS_INLINE_DECL_CYCLE_COLLECTING_NATIVE_REFCOUNTING(nsFrameSelection)
|
||||
NS_DECL_CYCLE_COLLECTION_NATIVE_CLASS(nsFrameSelection)
|
||||
|
||||
/** Init will initialize the frame selector with the necessary pres shell to
|
||||
* be used by most of the methods
|
||||
|
@ -415,11 +415,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsFrameSelection)
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mAncestorLimiter)
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTING_ADDREF(nsFrameSelection)
|
||||
NS_IMPL_CYCLE_COLLECTING_RELEASE(nsFrameSelection)
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsFrameSelection)
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||
NS_INTERFACE_MAP_END
|
||||
NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE(nsFrameSelection, AddRef)
|
||||
NS_IMPL_CYCLE_COLLECTION_UNROOT_NATIVE(nsFrameSelection, Release)
|
||||
|
||||
|
||||
nsresult
|
||||
|
Loading…
Reference in New Issue
Block a user