Bug 1123114 - Mark DOMString::mStringBuffer as unsafe; r=smaug

This commit is contained in:
Ehsan Akhgari 2015-01-18 14:15:48 -05:00
parent 54ef9723e3
commit b6b7be80a8

View File

@ -175,7 +175,9 @@ private:
// For callees that know we exist, we can be a stringbuffer/length/null-flag
// triple.
nsStringBuffer* mStringBuffer;
nsStringBuffer* MOZ_UNSAFE_REF("The ways in which this can be safe are "
"documented above and enforced through "
"assertions") mStringBuffer;
uint32_t mLength;
bool mIsNull;
};