Bug 1159401 followup: Annotate nsFSURLEncoded methods SupportsIsindexSubmission() & AddIsindex() as 'override'. rs=ehsan
☠☠ backed out by 0c80b9af0593 ☠ ☠
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 11 May 2015 14:01:24 -0700
changeset 243301 5eec0168c91685ed54993c1c923c33cad65965d7
parent 243300 0f061c5d85bee655242a9ea9c55ac0cd3aed5b3e
child 243302 c56dffd8e15d54564192deb9a2a23b9bd409860a
push id59644
push userdholbert@mozilla.com
push dateMon, 11 May 2015 21:01:37 +0000
treeherdermozilla-inbound@5eec0168c916 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs1159401
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1159401 followup: Annotate nsFSURLEncoded methods SupportsIsindexSubmission() & AddIsindex() as 'override'. rs=ehsan
dom/html/nsFormSubmission.cpp
--- a/dom/html/nsFormSubmission.cpp
+++ b/dom/html/nsFormSubmission.cpp
@@ -79,22 +79,22 @@ public:
   virtual nsresult AddNameValuePair(const nsAString& aName,
                                     const nsAString& aValue) override;
   virtual nsresult AddNameFilePair(const nsAString& aName,
                                    File* aFile) override;
   virtual nsresult GetEncodedSubmission(nsIURI* aURI,
                                         nsIInputStream** aPostDataStream)
                                                                        override;
 
-  virtual bool SupportsIsindexSubmission()
+  virtual bool SupportsIsindexSubmission() override
   {
     return true;
   }
 
-  virtual nsresult AddIsindex(const nsAString& aValue);
+  virtual nsresult AddIsindex(const nsAString& aValue) override;
 
 protected:
 
   /**
    * URL encode a Unicode string by encoding it to bytes, converting linebreaks
    * properly, and then escaping many bytes as %xx.
    *
    * @param aStr the string to encode