added in selection of tables/images as blue borders for browser.
git-svn-id: svn://10.0.0.236/trunk@44545 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9762f9fbb4
commit
437cbbc0b4
@ -647,9 +647,10 @@ nsFrame::Paint(nsIPresContext& aPresContext,
|
||||
return result;
|
||||
|
||||
PRBool displaySelection;
|
||||
result = shell->GetDisplayNonTextSelection(&displaySelection);
|
||||
if (NS_FAILED(result))
|
||||
return result;
|
||||
//result = shell->GetDisplayNonTextSelection(&displaySelection);
|
||||
//if (NS_FAILED(result))
|
||||
//return result;
|
||||
displaySelection = PR_TRUE;
|
||||
if (!displaySelection)
|
||||
return NS_OK;
|
||||
if (mContent) {
|
||||
|
||||
@ -647,9 +647,10 @@ nsFrame::Paint(nsIPresContext& aPresContext,
|
||||
return result;
|
||||
|
||||
PRBool displaySelection;
|
||||
result = shell->GetDisplayNonTextSelection(&displaySelection);
|
||||
if (NS_FAILED(result))
|
||||
return result;
|
||||
//result = shell->GetDisplayNonTextSelection(&displaySelection);
|
||||
//if (NS_FAILED(result))
|
||||
//return result;
|
||||
displaySelection = PR_TRUE;
|
||||
if (!displaySelection)
|
||||
return NS_OK;
|
||||
if (mContent) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user