Bug 1454945 - Get rid of nsIEditor.suppressDispatchingInputEvent since nobody uses it from JS r=m_kato

So, this patch replaces the setter with non-virtual method and removing the
getter since where is already non-virtual getter method.

MozReview-Commit-ID: Is19Yriz8t8
This commit is contained in:
Masayuki Nakano
2018-04-18 22:57:41 +09:00
parent 0881046804
commit cf09eec38a
4 changed files with 11 additions and 24 deletions

View File

@@ -65,11 +65,11 @@ public:
}
~ValueSetter()
{
mTextEditor->SetSuppressDispatchingInputEvent(mOuterTransaction);
mTextEditor->SuppressDispatchingInputEvent(mOuterTransaction);
}
void Init()
{
mTextEditor->SetSuppressDispatchingInputEvent(true);
mTextEditor->SuppressDispatchingInputEvent(true);
}
private: