зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1602989 - Remove warning when serialising nsIVariant. r=mattwoodrow
The type doesn't need to be sent across IPC anyway. Differential Revision: https://phabricator.services.mozilla.com/D60212 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
fa730b1f03
Коммит
6f389537e2
|
@ -109,7 +109,7 @@ void IPDLParamTraits<nsIVariant*>::Write(Message* aMsg, IProtocol* aActor,
|
|||
free(iid);
|
||||
nsCOMPtr<nsIURI> uri = do_QueryInterface(value);
|
||||
if (value && !uri) {
|
||||
NS_WARNING("we only accept nsIURI interface type, patch welcome");
|
||||
// We only accept nsIURI interface type, patch welcome.
|
||||
variant.type() = nsIDataType::VTYPE_EMPTY;
|
||||
}
|
||||
variant.data() = uri;
|
||||
|
|
Загрузка…
Ссылка в новой задаче