On Jun 20, 2005, at 2:03 PM, Kevin Ballard wrote:
Alright, I'll do the translation in
HTMLTextAreaElementImpl::setValue. And yes, it is a QString,
although the QString is taken from a const DOMString, and those
replace calls look like they replace-in-place. I'm not familiar
with QString (or DOMString) yet, so is there any issue with calling
these 2 lines on the QString returned by value.string() (where
value is a const DOMString &)? Is that returning a value in the
DOMString, or does the DOMString::string call copy its contents
into a new QString?
No issue. Modifying the QString is fine. It's a copy.
-- Darin
_______________________________________________
webkit-dev mailing list
[email protected]
http://www.opendarwin.org/mailman/listinfo/webkit-dev