Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1297)

Unified Diff: Source/platform/PODIntervalTree.h

Issue 1213003004: Fix virtual/override/final usage in Source/platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/PODArena.h ('k') | Source/platform/RefCountedSupplement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/PODIntervalTree.h
diff --git a/Source/platform/PODIntervalTree.h b/Source/platform/PODIntervalTree.h
index 5a2f462b06ab3b74bb086c491d5fe251ba5a24f2..5f970e80295f846663ef2a2cfe19000f99025306 100644
--- a/Source/platform/PODIntervalTree.h
+++ b/Source/platform/PODIntervalTree.h
@@ -131,7 +131,7 @@ public:
return IntervalType(low, high, data);
}
- virtual bool checkInvariants() const override
+ bool checkInvariants() const override
{
if (!PODRedBlackTree<IntervalType>::checkInvariants())
return false;
@@ -181,7 +181,7 @@ private:
searchForOverlapsFrom<AdapterType>(node->right(), adapter);
}
- virtual bool updateNode(IntervalNode* node) override
+ bool updateNode(IntervalNode* node) override
{
// Would use const T&, but need to reassign this reference in this
// function.
« no previous file with comments | « Source/platform/PODArena.h ('k') | Source/platform/RefCountedSupplement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698