зеркало из https://github.com/mozilla/gecko-dev.git
Bug 537419. mContent might be null here. r=dbaron
This commit is contained in:
Родитель
43c26fbb60
Коммит
3f71dc9eea
|
@ -467,7 +467,8 @@ public:
|
|||
{
|
||||
if (mSelection && mPresContext)
|
||||
{
|
||||
nsWeakFrame frame = mPresContext->GetPrimaryFrameFor(mContent);
|
||||
nsWeakFrame frame =
|
||||
mContent ? mPresContext->GetPrimaryFrameFor(mContent) : nsnull;
|
||||
mContent = nsnull;
|
||||
|
||||
mFrameSelection->HandleDrag(frame, mPoint);
|
||||
|
|
Загрузка…
Ссылка в новой задаче