mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 774038 - remove unused field. r=roc.
This commit is contained in:
parent
56cc1f3585
commit
e08eb35a64
@ -1767,7 +1767,7 @@ nsTextEditorState::SetValue(const nsAString& aValue, bool aUserInput,
|
||||
// this is necessary to avoid infinite recursion
|
||||
if (!currentValue.Equals(aValue))
|
||||
{
|
||||
nsTextControlFrame::ValueSetter valueSetter(mBoundFrame, mEditor);
|
||||
nsTextControlFrame::ValueSetter valueSetter(mEditor);
|
||||
|
||||
// \r is an illegal character in the dom, but people use them,
|
||||
// so convert windows and mac platform linebreaks to \n:
|
||||
|
@ -181,13 +181,10 @@ public: //for methods who access nsTextControlFrame directly
|
||||
|
||||
NS_STACK_CLASS class ValueSetter {
|
||||
public:
|
||||
ValueSetter(nsTextControlFrame* aFrame,
|
||||
nsIEditor* aEditor)
|
||||
: mFrame(aFrame)
|
||||
, mEditor(aEditor)
|
||||
ValueSetter(nsIEditor* aEditor)
|
||||
: mEditor(aEditor)
|
||||
, mCanceled(false)
|
||||
{
|
||||
MOZ_ASSERT(aFrame);
|
||||
MOZ_ASSERT(aEditor);
|
||||
|
||||
// To protect against a reentrant call to SetValue, we check whether
|
||||
@ -210,7 +207,6 @@ public: //for methods who access nsTextControlFrame directly
|
||||
}
|
||||
|
||||
private:
|
||||
nsTextControlFrame* mFrame;
|
||||
nsCOMPtr<nsIEditor> mEditor;
|
||||
bool mOuterTransaction;
|
||||
bool mCanceled;
|
||||
|
Loading…
Reference in New Issue
Block a user