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

Unified Diff: components/test_runner/mock_web_media_stream_center.cc

Issue 1360123005: Enforce marking "override" for functions overriding Blink in components/test_runner/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
Index: components/test_runner/mock_web_media_stream_center.cc
diff --git a/components/test_runner/mock_web_media_stream_center.cc b/components/test_runner/mock_web_media_stream_center.cc
index e63a91fdc02851f245615b939b944dea85882024..3c9206195f19eff75f14ad85d68c10d2f0ad9993 100644
--- a/components/test_runner/mock_web_media_stream_center.cc
+++ b/components/test_runner/mock_web_media_stream_center.cc
@@ -51,10 +51,10 @@ class MockWebAudioDestinationConsumer
: public blink::WebAudioDestinationConsumer {
public:
MockWebAudioDestinationConsumer() {}
- virtual ~MockWebAudioDestinationConsumer() {}
- virtual void setFormat(size_t number_of_channels, float sample_rate) {}
- virtual void consumeAudio(const blink::WebVector<const float*>&,
- size_t number_of_frames) {}
+ ~MockWebAudioDestinationConsumer() override {}
+ void setFormat(size_t number_of_channels, float sample_rate) override {}
+ void consumeAudio(const blink::WebVector<const float*>&,
+ size_t number_of_frames) override {}
DISALLOW_COPY_AND_ASSIGN(MockWebAudioDestinationConsumer);
};
« no previous file with comments | « components/test_runner/mock_web_media_stream_center.h ('k') | components/test_runner/mock_web_midi_accessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698