mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 714597 - GfxInfoCollector.h used in Thebes API should not depend on internal string API. r=roc
This commit is contained in:
parent
c34b89288d
commit
d955dd3600
@ -66,7 +66,7 @@ class InfoObject
|
||||
if (!mOk)
|
||||
return;
|
||||
|
||||
const nsPromiseFlatString &flat = PromiseFlatString(value);
|
||||
const nsString &flat = PromiseFlatString(value);
|
||||
JSString *string = JS_NewUCStringCopyN(mCx, static_cast<const jschar*>(flat.get()), flat.Length());
|
||||
if (!string)
|
||||
mOk = JS_FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user