mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-16 23:25:03 +00:00
Bug 329974: Share textdata for common textnode values. r/sr=jst
This commit is contained in:
parent
4845457d08
commit
fe78375178
@ -125,7 +125,7 @@ nsTextFragment::operator=(const nsTextFragment& aOther)
|
||||
else {
|
||||
m2b = NS_STATIC_CAST(PRUnichar*,
|
||||
nsMemory::Clone(aOther.m2b, aOther.mState.mLength *
|
||||
(aOther.mState.mIs2b ? sizeof(PRUnichar) : sizeof(char)));
|
||||
(aOther.mState.mIs2b ? sizeof(PRUnichar) : sizeof(char))));
|
||||
|
||||
if (aOther.mState.mIs2b) {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user