Bug 1419270 part 2. Use getter or setter specific NeedsSubjectPrincipal annotations more. r=qdot

MozReview-Commit-ID: KBwjFh3TMUg
This commit is contained in:
Boris Zbarsky
2017-12-05 16:03:18 -05:00
parent 402caf0398
commit 0e5baea61e
29 changed files with 26 additions and 58 deletions

View File

@@ -54,7 +54,7 @@ public:
MediaSource* GetSrcMediaSource() { return mSrcMediaSource; };
// WebIDL
void GetSrc(nsString& aSrc, nsIPrincipal&)
void GetSrc(nsString& aSrc)
{
GetURIAttr(nsGkAtoms::src, nullptr, aSrc);
}
@@ -82,7 +82,7 @@ public:
SetHTMLAttr(nsGkAtoms::type, aType, rv);
}
void GetSrcset(DOMString& aSrcset, nsIPrincipal&)
void GetSrcset(DOMString& aSrcset)
{
GetHTMLAttr(nsGkAtoms::srcset, aSrcset);
}