Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug
This commit is contained in:
@@ -89,12 +89,7 @@ bool
|
||||
nsMathMLmoFrame::IsFrameInSelection(nsIFrame* aFrame)
|
||||
{
|
||||
NS_ASSERTION(aFrame, "null arg");
|
||||
if (!aFrame)
|
||||
return false;
|
||||
|
||||
bool isSelected = false;
|
||||
aFrame->GetSelected(&isSelected);
|
||||
if (!isSelected)
|
||||
if (!aFrame || !aFrame->IsSelected())
|
||||
return false;
|
||||
|
||||
const nsFrameSelection* frameSelection = aFrame->GetConstFrameSelection();
|
||||
|
||||
Reference in New Issue
Block a user