Bug 1124680 - add MOZ_OVERRIDE in subclasses of TimelineMarker. r=smaug

This commit is contained in:
Tom Tromey 2015-01-22 07:35:00 +01:00
parent 8b313a4ba1
commit 0b7c53b55c
3 changed files with 4 additions and 4 deletions

View File

@ -906,7 +906,7 @@ public:
}
}
virtual bool Equals(const TimelineMarker* aOther)
virtual bool Equals(const TimelineMarker* aOther) MOZ_OVERRIDE
{
if (!TimelineMarker::Equals(aOther)) {
return false;
@ -915,7 +915,7 @@ public:
return GetCause() == aOther->GetCause();
}
virtual void AddDetails(mozilla::dom::ProfileTimelineMarker& aMarker)
virtual void AddDetails(mozilla::dom::ProfileTimelineMarker& aMarker) MOZ_OVERRIDE
{
if (GetMetaData() == TRACING_INTERVAL_START) {
aMarker.mCauseName.Construct(GetCause());

View File

@ -1034,7 +1034,7 @@ public:
{
}
virtual void AddDetails(mozilla::dom::ProfileTimelineMarker& aMarker)
virtual void AddDetails(mozilla::dom::ProfileTimelineMarker& aMarker) MOZ_OVERRIDE
{
if (GetMetaData() == TRACING_INTERVAL_START) {
aMarker.mType.Construct(GetCause());

View File

@ -4526,7 +4526,7 @@ public:
{
}
virtual void AddLayerRectangles(mozilla::dom::Sequence<mozilla::dom::ProfileTimelineLayerRect>& aRectangles)
virtual void AddLayerRectangles(mozilla::dom::Sequence<mozilla::dom::ProfileTimelineLayerRect>& aRectangles) MOZ_OVERRIDE
{
nsIntRegionRectIterator it(mRegion);
while (const nsIntRect* iterRect = it.Next()) {