Bug 1280373 - Fix the label and language attribute in TextTrack object. r=rillian

MozReview-Commit-ID: 2NFJ5fCCkDy
This commit is contained in:
bechen
2016-06-30 13:36:31 +08:00
parent 97fe1dc436
commit c4496a82da
5 changed files with 23 additions and 26 deletions

View File

@@ -55,7 +55,7 @@ public:
{
GetHTMLAttr(nsGkAtoms::srclang, aSrclang);
}
void GetSrclang(nsString& aSrclang) const
void GetSrclang(nsAString& aSrclang) const
{
GetHTMLAttr(nsGkAtoms::srclang, aSrclang);
}
@@ -68,7 +68,7 @@ public:
{
GetHTMLAttr(nsGkAtoms::label, aLabel);
}
void GetLabel(nsString& aLabel) const
void GetLabel(nsAString& aLabel) const
{
GetHTMLAttr(nsGkAtoms::label, aLabel);
}