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

Unified Diff: content/renderer/device_sensors/device_motion_event_pump_unittest.cc

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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
Index: content/renderer/device_sensors/device_motion_event_pump_unittest.cc
diff --git a/content/renderer/device_sensors/device_motion_event_pump_unittest.cc b/content/renderer/device_sensors/device_motion_event_pump_unittest.cc
index 038870b99b3a5e3667598c780ef849629409c474..c008cdc2a4f210dba12f7860c373ddc8ca47c3b6 100644
--- a/content/renderer/device_sensors/device_motion_event_pump_unittest.cc
+++ b/content/renderer/device_sensors/device_motion_event_pump_unittest.cc
@@ -22,7 +22,7 @@ class MockDeviceMotionListener : public blink::WebDeviceMotionListener {
virtual ~MockDeviceMotionListener() { }
virtual void didChangeDeviceMotion(
- const blink::WebDeviceMotionData& data) OVERRIDE {
+ const blink::WebDeviceMotionData& data) override {
memcpy(&data_, &data, sizeof(data));
did_change_device_motion_ = true;
}
@@ -50,9 +50,9 @@ class DeviceMotionEventPumpForTesting : public DeviceMotionEventPump {
void OnDidStart(base::SharedMemoryHandle renderer_handle) {
DeviceMotionEventPump::OnDidStart(renderer_handle);
}
- virtual void SendStartMessage() OVERRIDE { }
- virtual void SendStopMessage() OVERRIDE { }
- virtual void FireEvent() OVERRIDE {
+ virtual void SendStartMessage() override { }
+ virtual void SendStopMessage() override { }
+ virtual void FireEvent() override {
DeviceMotionEventPump::FireEvent();
Stop();
base::MessageLoop::current()->QuitWhenIdle();
@@ -70,7 +70,7 @@ class DeviceMotionEventPumpTest : public testing::Test {
}
protected:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
const DeviceMotionHardwareBuffer* null_buffer = NULL;
listener_.reset(new MockDeviceMotionListener);
motion_pump_.reset(new DeviceMotionEventPumpForTesting);

Powered by Google App Engine
This is Rietveld 408576698