зеркало из https://github.com/mozilla/gecko-dev.git
Bug 579077 - WARNING: NS_ENSURE_TRUE(mBoundFrame) failed: file ../../../../../content/html/content/src/nsTextEditorState.cpp, line 1326; r=jst approval2.0=benjamin
This commit is contained in:
Родитель
48b4d58926
Коммит
98fc3a4b9e
|
@ -780,7 +780,7 @@ NS_IMETHODIMP_(void)
|
|||
nsHTMLInputElement::UnbindFromFrame(nsTextControlFrame* aFrame)
|
||||
{
|
||||
nsTextEditorState *state = GetEditorState();
|
||||
if (state) {
|
||||
if (state && aFrame) {
|
||||
state->UnbindFromFrame(aFrame);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -449,7 +449,9 @@ nsHTMLTextAreaElement::BindToFrame(nsTextControlFrame* aFrame)
|
|||
NS_IMETHODIMP_(void)
|
||||
nsHTMLTextAreaElement::UnbindFromFrame(nsTextControlFrame* aFrame)
|
||||
{
|
||||
mState->UnbindFromFrame(aFrame);
|
||||
if (aFrame) {
|
||||
mState->UnbindFromFrame(aFrame);
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
Загрузка…
Ссылка в новой задаче