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

Unified Diff: content/browser/compositor/software_output_device_ozone_unittest.cc

Issue 634703003: Replacing the OVERRIDE with override and FINAL with final in content/browser/[accessibility|battery… (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/browser/compositor/software_output_device_ozone_unittest.cc
diff --git a/content/browser/compositor/software_output_device_ozone_unittest.cc b/content/browser/compositor/software_output_device_ozone_unittest.cc
index 972126e33819d72b63d1465a6d5dcf80bbbf248c..8b720055d8f91b547f0cc816a036903dd2559db4 100644
--- a/content/browser/compositor/software_output_device_ozone_unittest.cc
+++ b/content/browser/compositor/software_output_device_ozone_unittest.cc
@@ -26,15 +26,15 @@ class MockSurfaceOzone : public ui::SurfaceOzoneCanvas {
virtual ~MockSurfaceOzone() {}
// ui::SurfaceOzoneCanvas overrides:
- virtual void ResizeCanvas(const gfx::Size& size) OVERRIDE {
+ virtual void ResizeCanvas(const gfx::Size& size) override {
surface_ = skia::AdoptRef(SkSurface::NewRaster(
SkImageInfo::MakeN32Premul(size.width(), size.height())));
}
- virtual skia::RefPtr<SkCanvas> GetCanvas() OVERRIDE {
+ virtual skia::RefPtr<SkCanvas> GetCanvas() override {
return skia::SharePtr(surface_->getCanvas());
}
- virtual void PresentCanvas(const gfx::Rect& damage) OVERRIDE {}
- virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() OVERRIDE {
+ virtual void PresentCanvas(const gfx::Rect& damage) override {}
+ virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() override {
return scoped_ptr<gfx::VSyncProvider>();
}
@@ -51,11 +51,11 @@ class MockSurfaceFactoryOzone : public ui::SurfaceFactoryOzone {
virtual bool LoadEGLGLES2Bindings(
AddGLLibraryCallback add_gl_library,
- SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE {
+ SetGLGetProcAddressProcCallback set_gl_get_proc_address) override {
return false;
}
virtual scoped_ptr<ui::SurfaceOzoneCanvas> CreateCanvasForWidget(
- gfx::AcceleratedWidget widget) OVERRIDE {
+ gfx::AcceleratedWidget widget) override {
return make_scoped_ptr<ui::SurfaceOzoneCanvas>(new MockSurfaceOzone());
}
@@ -70,8 +70,8 @@ class SoftwareOutputDeviceOzoneTest : public testing::Test {
SoftwareOutputDeviceOzoneTest();
virtual ~SoftwareOutputDeviceOzoneTest();
- virtual void SetUp() OVERRIDE;
- virtual void TearDown() OVERRIDE;
+ virtual void SetUp() override;
+ virtual void TearDown() override;
protected:
scoped_ptr<content::SoftwareOutputDeviceOzone> output_device_;
@@ -122,7 +122,7 @@ void SoftwareOutputDeviceOzoneTest::TearDown() {
class SoftwareOutputDeviceOzonePixelTest
: public SoftwareOutputDeviceOzoneTest {
protected:
- virtual void SetUp() OVERRIDE;
+ virtual void SetUp() override;
};
void SoftwareOutputDeviceOzonePixelTest::SetUp() {
« no previous file with comments | « content/browser/compositor/software_output_device_ozone.h ('k') | content/browser/compositor/software_output_device_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698