mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Remove Mac debugging info. r=me
This commit is contained in:
parent
83eb62c847
commit
a08d78f72c
@ -2314,12 +2314,6 @@ XULSortServiceImpl::DoSort(nsIDOMNode* node, const nsString& sortResource,
|
||||
nsresult rv;
|
||||
_sortStruct sortInfo;
|
||||
|
||||
#ifdef DEBUG
|
||||
PRTime now;
|
||||
Microseconds((UnsignedWide *)&now);
|
||||
printf("DoSort begins\n");
|
||||
#endif
|
||||
|
||||
// get tree node
|
||||
nsCOMPtr<nsIContent> contentNode = do_QueryInterface(node);
|
||||
if (!contentNode) return(NS_ERROR_FAILURE);
|
||||
@ -2353,8 +2347,6 @@ XULSortServiceImpl::DoSort(nsIDOMNode* node, const nsString& sortResource,
|
||||
if (NS_SUCCEEDED(rv = treeNode->GetAttribute(kNameSpaceID_None, kSortDirectionAtom,
|
||||
value)) && (rv == NS_CONTENT_ATTR_HAS_VALUE))
|
||||
{
|
||||
PRBool canOptimize = PR_FALSE;
|
||||
|
||||
if ((value.Equals(descendingStr) && sortDirection.Equals(ascendingStr)) ||
|
||||
(value.Equals(ascendingStr) && sortDirection.Equals(descendingStr)))
|
||||
{
|
||||
@ -2451,16 +2443,6 @@ XULSortServiceImpl::DoSort(nsIDOMNode* node, const nsString& sortResource,
|
||||
|
||||
if (NS_FAILED(rv = treeParent->AppendChildTo(treeBody, PR_TRUE))) return(rv);
|
||||
|
||||
#ifdef DEBUG
|
||||
PRTime now2;
|
||||
Microseconds((UnsignedWide *)&now2);
|
||||
PRUint64 loadTime64;
|
||||
LL_SUB(loadTime64, now2, now);
|
||||
PRUint32 loadTime32;
|
||||
LL_L2UI(loadTime32, loadTime64);
|
||||
printf("DoSort finished. (%u microseconds)\n", loadTime32);
|
||||
#endif
|
||||
|
||||
return(NS_OK);
|
||||
}
|
||||
|
||||
|
@ -2314,12 +2314,6 @@ XULSortServiceImpl::DoSort(nsIDOMNode* node, const nsString& sortResource,
|
||||
nsresult rv;
|
||||
_sortStruct sortInfo;
|
||||
|
||||
#ifdef DEBUG
|
||||
PRTime now;
|
||||
Microseconds((UnsignedWide *)&now);
|
||||
printf("DoSort begins\n");
|
||||
#endif
|
||||
|
||||
// get tree node
|
||||
nsCOMPtr<nsIContent> contentNode = do_QueryInterface(node);
|
||||
if (!contentNode) return(NS_ERROR_FAILURE);
|
||||
@ -2353,8 +2347,6 @@ XULSortServiceImpl::DoSort(nsIDOMNode* node, const nsString& sortResource,
|
||||
if (NS_SUCCEEDED(rv = treeNode->GetAttribute(kNameSpaceID_None, kSortDirectionAtom,
|
||||
value)) && (rv == NS_CONTENT_ATTR_HAS_VALUE))
|
||||
{
|
||||
PRBool canOptimize = PR_FALSE;
|
||||
|
||||
if ((value.Equals(descendingStr) && sortDirection.Equals(ascendingStr)) ||
|
||||
(value.Equals(ascendingStr) && sortDirection.Equals(descendingStr)))
|
||||
{
|
||||
@ -2451,16 +2443,6 @@ XULSortServiceImpl::DoSort(nsIDOMNode* node, const nsString& sortResource,
|
||||
|
||||
if (NS_FAILED(rv = treeParent->AppendChildTo(treeBody, PR_TRUE))) return(rv);
|
||||
|
||||
#ifdef DEBUG
|
||||
PRTime now2;
|
||||
Microseconds((UnsignedWide *)&now2);
|
||||
PRUint64 loadTime64;
|
||||
LL_SUB(loadTime64, now2, now);
|
||||
PRUint32 loadTime32;
|
||||
LL_L2UI(loadTime32, loadTime64);
|
||||
printf("DoSort finished. (%u microseconds)\n", loadTime32);
|
||||
#endif
|
||||
|
||||
return(NS_OK);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user