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

Unified Diff: content/renderer/device_sensors/device_orientation_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_orientation_event_pump_unittest.cc
diff --git a/content/renderer/device_sensors/device_orientation_event_pump_unittest.cc b/content/renderer/device_sensors/device_orientation_event_pump_unittest.cc
index 9b5cb84432dbefe4a85158628a2098e30075a424..f95850182dd6020984367588e38a5d51913c1be9 100644
--- a/content/renderer/device_sensors/device_orientation_event_pump_unittest.cc
+++ b/content/renderer/device_sensors/device_orientation_event_pump_unittest.cc
@@ -22,7 +22,7 @@ class MockDeviceOrientationListener
virtual ~MockDeviceOrientationListener() { }
virtual void didChangeDeviceOrientation(
- const blink::WebDeviceOrientationData& data) OVERRIDE {
+ const blink::WebDeviceOrientationData& data) override {
memcpy(&data_, &data, sizeof(data));
did_change_device_orientation_ = true;
}
@@ -53,9 +53,9 @@ class DeviceOrientationEventPumpForTesting : public DeviceOrientationEventPump {
void OnDidStart(base::SharedMemoryHandle renderer_handle) {
DeviceOrientationEventPump::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 {
DeviceOrientationEventPump::FireEvent();
Stop();
base::MessageLoop::current()->QuitWhenIdle();
@@ -73,7 +73,7 @@ class DeviceOrientationEventPumpTest : public testing::Test {
}
protected:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
const DeviceOrientationHardwareBuffer* null_buffer = NULL;
listener_.reset(new MockDeviceOrientationListener);
orientation_pump_.reset(new DeviceOrientationEventPumpForTesting);

Powered by Google App Engine
This is Rietveld 408576698