Closed
Bug 1118419
Opened 10 years ago
Closed 10 years ago
Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla37
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
93.37 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ehsan
Blocks: Winconsistent-missing-override
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8544782 -
Flags: review?(jmuizelaar)
Updated•10 years ago
|
Attachment #8544782 -
Flags: review?(jmuizelaar) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Comment 3•10 years ago
|
||
Comment on attachment 8544782 [details] [diff] [review]
Mark virtual overridden functions as MOZ_OVERRIDE in graphics
>diff --git a/gfx/gl/GLContextCGL.h b/gfx/gl/GLContextCGL.h
> class GLContextCGL : public GLContext
> {
[...]
> public:
>- MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME(GLContextCGL)
>+ MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME(GLContextCGL, MOZ_OVERRIDE)
^^^^^^^^^^^^^^
We need this exact same fix in GLContextGLX and GLContextWGL (the two remaining GLContext subclasses that lack this annotation).
I just pushed this same tweak to those classes, as a followup commit for this bug:
https://hg.mozilla.org/integration/mozilla-inbound/rev/42755ce4d13f
Comment 4•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•