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 b324a67bec
commit 6707ffbdc4

View File

@ -175,7 +175,9 @@ private:
// For callees that know we exist, we can be a stringbuffer/length/null-flag // For callees that know we exist, we can be a stringbuffer/length/null-flag
// triple. // 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; uint32_t mLength;
bool mIsNull; bool mIsNull;
}; };