summaryrefslogtreecommitdiffstats
path: root/layout
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-30 15:00:01 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-30 15:00:01 +0200
commit966e69291ae8ca1615b7d9a2d4db28b6532564f5 (patch)
treed1953f145739f0d653fd41c9ac2ebfd6adcfb145 /layout
parent7c8c0540db529cffdbcd142af74ea1a8df6be23f (diff)
downloadUXP-966e69291ae8ca1615b7d9a2d4db28b6532564f5.tar
UXP-966e69291ae8ca1615b7d9a2d4db28b6532564f5.tar.gz
UXP-966e69291ae8ca1615b7d9a2d4db28b6532564f5.tar.lz
UXP-966e69291ae8ca1615b7d9a2d4db28b6532564f5.tar.xz
UXP-966e69291ae8ca1615b7d9a2d4db28b6532564f5.zip
Bug 1216885 - Make nsISelectionPrivate not inherit from nsISelection
Diffstat (limited to 'layout')
-rw-r--r--layout/generic/Selection.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/layout/generic/Selection.h b/layout/generic/Selection.h
index 3d5e334fc..5414d15c1 100644
--- a/layout/generic/Selection.h
+++ b/layout/generic/Selection.h
@@ -51,8 +51,9 @@ struct RangeData
namespace mozilla {
namespace dom {
-class Selection final : public nsISelectionPrivate,
+class Selection final : public nsISelection,
public nsWrapperCache,
+ public nsISelectionPrivate,
public nsSupportsWeakReference
{
protected:
@@ -63,7 +64,7 @@ public:
explicit Selection(nsFrameSelection *aList);
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
- NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS_AMBIGUOUS(Selection, nsISelectionPrivate)
+ NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS_AMBIGUOUS(Selection, nsISelection)
NS_DECL_NSISELECTION
NS_DECL_NSISELECTIONPRIVATE