Closed Bug 1118550 Opened 5 years ago Closed 5 years ago

Mark virtual overridden functions as MOZ_OVERRIDE in dom/xml; r=baku

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla37

People

(Reporter: ehsan, Assigned: ehsan)

References

Details

Attachments

(1 file)

No description provided.
Assignee: nobody → ehsan
Comment on attachment 8544910 [details] [diff] [review]
Mark virtual overridden functions as MOZ_OVERRIDE in dom/xml

Review of attachment 8544910 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/xml/nsXMLFragmentContentSink.cpp
@@ +53,2 @@
>    NS_IMETHOD HandleProcessingInstruction(const char16_t *aTarget, 
> +                                         const char16_t *aData) MOZ_OVERRIDE;

1. Can you remove these extra spaces?
2. nsAstring&, char16_t*

@@ +58,1 @@
>    NS_IMETHOD ReportError(const char16_t* aErrorText, 

extra space

@@ +58,4 @@
>    NS_IMETHOD ReportError(const char16_t* aErrorText, 
>                           const char16_t* aSourceText,
>                           nsIScriptError *aError,
> +                         bool *_retval) MOZ_OVERRIDE;

type* aVar

@@ +63,5 @@
>    // nsIContentSink
> +  NS_IMETHOD WillBuildModel(nsDTDMode aDTDMode) MOZ_OVERRIDE;
> +  NS_IMETHOD DidBuildModel(bool aTerminated) MOZ_OVERRIDE;
> +  NS_IMETHOD SetDocumentCharset(nsACString& aCharset) MOZ_OVERRIDE;
> +  virtual nsISupports *GetTarget() MOZ_OVERRIDE;

nsISupports* ..

@@ +79,5 @@
>  
>  protected:
>    virtual ~nsXMLFragmentContentSink();
>  
>    virtual bool SetDocElement(int32_t aNameSpaceID, 

extra space and type* aVar
Attachment #8544910 - Flags: review?(amarchesini) → review+
https://hg.mozilla.org/mozilla-central/rev/f8eb397de371
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.