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

Unified Diff: Source/web/tests/TextFinderTest.cpp

Issue 634893002: Replace OVERRIDE and FINAL with override and final in WebKit/public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/web/tests/ScrollAnimatorNoneTest.cpp ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/TextFinderTest.cpp
diff --git a/Source/web/tests/TextFinderTest.cpp b/Source/web/tests/TextFinderTest.cpp
index 9f324c3f3acdea571bad69abd14ffc20e5fbb339..1b2a7c57603e2657d82afc714d5532c547d19bbb 100644
--- a/Source/web/tests/TextFinderTest.cpp
+++ b/Source/web/tests/TextFinderTest.cpp
@@ -26,7 +26,7 @@ namespace {
class TextFinderTest : public ::testing::Test {
protected:
- virtual void SetUp() OVERRIDE;
+ virtual void SetUp() override;
Document& document() const;
TextFinder& textFinder() const;
@@ -358,8 +358,8 @@ TEST_F(TextFinderTest, SequentialMatches)
class TextFinderFakeTimerTest : public TextFinderTest {
protected:
- virtual void SetUp() OVERRIDE;
- virtual void TearDown() OVERRIDE;
+ virtual void SetUp() override;
+ virtual void TearDown() override;
// A simple platform that mocks out the clock.
class TimeProxyPlatform : public Platform {
@@ -396,37 +396,37 @@ protected:
}
// From blink::Platform:
- virtual double currentTime() OVERRIDE
+ virtual double currentTime() override
{
return ++m_timeCounter;
}
// These blink::Platform methods must be overriden to make a usable object.
- virtual void cryptographicallyRandomValues(unsigned char* buffer, size_t length) OVERRIDE
+ virtual void cryptographicallyRandomValues(unsigned char* buffer, size_t length) override
{
ensureFallback().cryptographicallyRandomValues(buffer, length);
}
- virtual const unsigned char* getTraceCategoryEnabledFlag(const char* categoryName) OVERRIDE
+ virtual const unsigned char* getTraceCategoryEnabledFlag(const char* categoryName) override
{
return ensureFallback().getTraceCategoryEnabledFlag(categoryName);
}
// These two methods allow timers to work correctly.
- virtual double monotonicallyIncreasingTime() OVERRIDE
+ virtual double monotonicallyIncreasingTime() override
{
return ensureFallback().monotonicallyIncreasingTime();
}
- virtual void setSharedTimerFireInterval(double interval) OVERRIDE
+ virtual void setSharedTimerFireInterval(double interval) override
{
ensureFallback().setSharedTimerFireInterval(interval);
}
- virtual WebThread* currentThread() OVERRIDE { return ensureFallback().currentThread(); }
- virtual WebUnitTestSupport* unitTestSupport() OVERRIDE { return ensureFallback().unitTestSupport(); }
- virtual WebString defaultLocale() OVERRIDE { return ensureFallback().defaultLocale(); }
- virtual WebCompositorSupport* compositorSupport() OVERRIDE { return ensureFallback().compositorSupport(); }
+ virtual WebThread* currentThread() override { return ensureFallback().currentThread(); }
+ virtual WebUnitTestSupport* unitTestSupport() override { return ensureFallback().unitTestSupport(); }
+ virtual WebString defaultLocale() override { return ensureFallback().defaultLocale(); }
+ virtual WebCompositorSupport* compositorSupport() override { return ensureFallback().compositorSupport(); }
double m_timeCounter;
Platform* m_fallbackPlatform;
« no previous file with comments | « Source/web/tests/ScrollAnimatorNoneTest.cpp ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698