зеркало из https://github.com/mozilla/gecko-dev.git
Bug 38185. Fix ports build bustage. a=brade
This commit is contained in:
Родитель
51c960c946
Коммит
8743489395
|
@ -4669,7 +4669,9 @@ nsXULTemplateBuilder::SubstituteTextForValue(const Value& aValue, nsString& aRes
|
|||
switch (aValue.GetType()) {
|
||||
case Value::eISupports:
|
||||
{
|
||||
nsISupports* isupports = NS_STATIC_CAST(nsISupports*, aValue); // no addref
|
||||
// Need to const_cast<> aValue because QI() and Release()
|
||||
// are not `const'
|
||||
nsISupports* isupports = NS_STATIC_CAST(nsISupports*, NS_CONST_CAST(Value&, aValue)); // no addref
|
||||
|
||||
nsCOMPtr<nsIRDFNode> node = do_QueryInterface(isupports);
|
||||
if (node) {
|
||||
|
|
|
@ -4669,7 +4669,9 @@ nsXULTemplateBuilder::SubstituteTextForValue(const Value& aValue, nsString& aRes
|
|||
switch (aValue.GetType()) {
|
||||
case Value::eISupports:
|
||||
{
|
||||
nsISupports* isupports = NS_STATIC_CAST(nsISupports*, aValue); // no addref
|
||||
// Need to const_cast<> aValue because QI() and Release()
|
||||
// are not `const'
|
||||
nsISupports* isupports = NS_STATIC_CAST(nsISupports*, NS_CONST_CAST(Value&, aValue)); // no addref
|
||||
|
||||
nsCOMPtr<nsIRDFNode> node = do_QueryInterface(isupports);
|
||||
if (node) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче