mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 876701 - Static analysis failure in nsMathMLsemanticsFrame.h, r=karlt
This commit is contained in:
parent
a24c8b41c8
commit
b88d6bba0e
@ -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___ */
|
||||
|
@ -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")))
|
||||
|
Loading…
Reference in New Issue
Block a user