mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1118547 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/canvas; r=baku
This commit is contained in:
parent
f2cdebfc35
commit
37f6a68ce3
@ -162,7 +162,7 @@ public:
|
||||
|
||||
NS_IMETHODIMP Observe(nsISupports* aSubject,
|
||||
const char* aTopic,
|
||||
const char16_t* aSomeData)
|
||||
const char16_t* aSomeData) MOZ_OVERRIDE
|
||||
{
|
||||
if (!mImageCache || strcmp(aTopic, "memory-pressure")) {
|
||||
return NS_OK;
|
||||
|
@ -164,7 +164,7 @@ public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
NS_IMETHOD CollectReports(nsIHandleReportCallback* aHandleReport,
|
||||
nsISupports* aData, bool aAnonymize)
|
||||
nsISupports* aData, bool aAnonymize) MOZ_OVERRIDE
|
||||
{
|
||||
return MOZ_COLLECT_REPORT(
|
||||
"canvas-2d-pixels", KIND_OTHER, UNITS_BYTES,
|
||||
|
@ -584,15 +584,15 @@ public:
|
||||
|
||||
friend class CanvasRenderingContext2DUserData;
|
||||
|
||||
virtual void GetImageBuffer(uint8_t** aImageBuffer, int32_t* aFormat);
|
||||
virtual void GetImageBuffer(uint8_t** aImageBuffer, int32_t* aFormat) MOZ_OVERRIDE;
|
||||
|
||||
|
||||
// Given a point, return hit region ID if it exists
|
||||
nsString GetHitRegion(const mozilla::gfx::Point& aPoint);
|
||||
nsString GetHitRegion(const mozilla::gfx::Point& aPoint) MOZ_OVERRIDE;
|
||||
|
||||
|
||||
// return true and fills in the bound rect if element has a hit region.
|
||||
bool GetHitRegionRect(Element* aElement, nsRect& aRect);
|
||||
bool GetHitRegionRect(Element* aElement, nsRect& aRect) MOZ_OVERRIDE;
|
||||
|
||||
protected:
|
||||
nsresult GetImageDataArray(JSContext* aCx, int32_t aX, int32_t aY,
|
||||
|
@ -192,7 +192,7 @@ public:
|
||||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS_AMBIGUOUS(WebGLContext,
|
||||
nsIDOMWebGLRenderingContext)
|
||||
|
||||
virtual JSObject* WrapObject(JSContext* cx) = 0;
|
||||
virtual JSObject* WrapObject(JSContext* aCx) MOZ_OVERRIDE = 0;
|
||||
|
||||
NS_DECL_NSIDOMWEBGLRENDERINGCONTEXT
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user