Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj

This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
This commit is contained in:
Ehsan Akhgari
2015-03-21 12:28:04 -04:00
parent 33dfd29cf2
commit ea41d8de48
2786 changed files with 21130 additions and 21130 deletions

View File

@@ -23,7 +23,7 @@ class HTMLImageElement;
class OwningRadioNodeListOrElement;
template<typename> struct Nullable;
class HTMLFormControlsCollection MOZ_FINAL : public nsIHTMLCollection
class HTMLFormControlsCollection final : public nsIHTMLCollection
, public nsWrapperCache
{
public:
@@ -36,11 +36,11 @@ public:
// nsIDOMHTMLCollection interface
NS_DECL_NSIDOMHTMLCOLLECTION
virtual Element* GetElementAt(uint32_t index) MOZ_OVERRIDE;
virtual nsINode* GetParentObject() MOZ_OVERRIDE;
virtual Element* GetElementAt(uint32_t index) override;
virtual nsINode* GetParentObject() override;
virtual Element*
GetFirstNamedElement(const nsAString& aName, bool& aFound) MOZ_OVERRIDE;
GetFirstNamedElement(const nsAString& aName, bool& aFound) override;
void
NamedGetter(const nsAString& aName,
@@ -54,7 +54,7 @@ public:
NamedGetter(aName, dummy, aResult);
}
virtual void GetSupportedNames(unsigned aFlags,
nsTArray<nsString>& aNames) MOZ_OVERRIDE;
nsTArray<nsString>& aNames) override;
nsresult AddElementToTable(nsGenericHTMLFormElement* aChild,
const nsAString& aName);
@@ -80,10 +80,10 @@ public:
// nsWrapperCache
using nsWrapperCache::GetWrapperPreserveColor;
virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) MOZ_OVERRIDE;
virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
protected:
virtual ~HTMLFormControlsCollection();
virtual JSObject* GetWrapperPreserveColorInternal() MOZ_OVERRIDE
virtual JSObject* GetWrapperPreserveColorInternal() override
{
return nsWrapperCache::GetWrapperPreserveColor();
}