diff --git a/content/xul/document/src/nsXULDocument.cpp b/content/xul/document/src/nsXULDocument.cpp index 38d19cc49d44..59833b829a6d 100644 --- a/content/xul/document/src/nsXULDocument.cpp +++ b/content/xul/document/src/nsXULDocument.cpp @@ -350,7 +350,7 @@ nsElementMap::Add(nsIRDFResource* aResource, nsIContent* aContent) // this warning, it's an indication that you're // unnecessarily notifying the frame system, and // potentially causing unnecessary reflow. - NS_WARNING("element was already in the map"); + //NS_WARNING("element was already in the map"); return NS_OK; } if (! head->mNext) diff --git a/rdf/content/src/nsXULDocument.cpp b/rdf/content/src/nsXULDocument.cpp index 38d19cc49d44..59833b829a6d 100644 --- a/rdf/content/src/nsXULDocument.cpp +++ b/rdf/content/src/nsXULDocument.cpp @@ -350,7 +350,7 @@ nsElementMap::Add(nsIRDFResource* aResource, nsIContent* aContent) // this warning, it's an indication that you're // unnecessarily notifying the frame system, and // potentially causing unnecessary reflow. - NS_WARNING("element was already in the map"); + //NS_WARNING("element was already in the map"); return NS_OK; } if (! head->mNext)