зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1491192
- Get raw pointer from RefPtr in ternary expression to fix MSVC build. a=tier2-permafail-fix
This commit is contained in:
Родитель
c2716211ca
Коммит
dfa276073a
|
@ -54,8 +54,8 @@ public:
|
|||
name = NS_LITERAL_STRING("fullscreenerror");
|
||||
break;
|
||||
}
|
||||
nsINode* target =
|
||||
mTarget->GetComposedDoc() == mDocument ? mTarget : mDocument;
|
||||
nsINode* target = mTarget->GetComposedDoc() == mDocument
|
||||
? mTarget.get() : mDocument.get();
|
||||
Unused << nsContentUtils::DispatchTrustedEvent(
|
||||
mDocument, target, name,
|
||||
CanBubble::eYes, Cancelable::eNo, Composed::eYes);
|
||||
|
|
Загрузка…
Ссылка в новой задаче