Bug 876701 - Static analysis failure in nsMathMLsemanticsFrame.h, r=karlt

This commit is contained in:
Joshua Cranmer 2013-05-28 22:20:44 -05:00
parent a24c8b41c8
commit b88d6bba0e
2 changed files with 7 additions and 2 deletions

View File

@ -40,6 +40,8 @@ public:
const nsHTMLReflowState& aReflowState,
nsReflowStatus& aStatus) MOZ_OVERRIDE;
virtual nsQueryFrame::FrameIID GetFrameId() = 0;
protected:
nsMathMLSelectedFrame(nsStyleContext* aContext) :
nsMathMLContainerFrame(aContext) {}
@ -49,6 +51,9 @@ protected:
nsIFrame* mSelectedFrame;
bool mInvalidMarkup;
private:
void* operator new(size_t, nsIPresShell*) MOZ_MUST_OVERRIDE MOZ_DELETE;
};
#endif /* nsMathMLSelectedFrame_h___ */

View File

@ -391,8 +391,8 @@
* error to use it, or an array of such objects, as the type of a new
* expression (unless placement new is being used). If a member of another
* class uses this class, or if another class inherits from this class, then
* it is considered to be a stack class as well, although this attribute need
* not be provided in such cases.
* it is considered to be a non-heap class as well, although this attribute
* need not be provided in such cases.
*/
#ifdef MOZ_CLANG_PLUGIN
# define MOZ_MUST_OVERRIDE __attribute__((annotate("moz_must_override")))