1,295
edits
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
* Not really deCOMtamination, but we have new methods nsIContent::AttrValueIs and nsIContent::FindAttrValueIn that can be used in many many places where nsIContent::GetAttr is currently used. The new methods reduce code size and are faster. We need to convert GetAttr calls to use the new methods. | * Not really deCOMtamination, but we have new methods nsIContent::AttrValueIs and nsIContent::FindAttrValueIn that can be used in many many places where nsIContent::GetAttr is currently used. The new methods reduce code size and are faster. We need to convert GetAttr calls to use the new methods. | ||
* nsIFrameSelection needs to be deCOMtaminated, and the interface should be removed. | * nsIFrameSelection needs to be deCOMtaminated, and the interface should be removed. | ||
* Not really deCOMtamination: every nsDisplayItem subclass declares its own mFrame. Move these mFrames up to nsDisplayItem, make it nsIFrame*, make GetUnderlyingFrame() nonvirtual and inline, and use NS_STATIC_CAST wherever the nsDisplayItem subclasses need to get the frame with the right type. | |||
* Not really deCOMtamination, but code cleanup: nsGlobalWindow.cpp contains many copies of code to get the current JSContext (search for ncc->GetJSContext()). This code should be shared in a helper function. |
edits