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

Unified Diff: content/renderer/gpu/compositor_output_surface.h

Issue 670683003: Standardize usage of virtual/override/final 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
« no previous file with comments | « content/renderer/gin_browsertest.cc ('k') | content/renderer/gpu/compositor_software_output_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/compositor_output_surface.h
diff --git a/content/renderer/gpu/compositor_output_surface.h b/content/renderer/gpu/compositor_output_surface.h
index 51cc3171b87ecb260617ea58fba36ea822e4fe96..7ee942702458c3efe36d5e8d392d584a1999cfb5 100644
--- a/content/renderer/gpu/compositor_output_surface.h
+++ b/content/renderer/gpu/compositor_output_surface.h
@@ -53,18 +53,18 @@ class CompositorOutputSurface
scoped_ptr<cc::SoftwareOutputDevice> software,
scoped_refptr<FrameSwapMessageQueue> swap_frame_message_queue,
bool use_swap_compositor_frame_message);
- virtual ~CompositorOutputSurface();
+ ~CompositorOutputSurface() override;
// cc::OutputSurface implementation.
- virtual bool BindToClient(cc::OutputSurfaceClient* client) override;
- virtual void SwapBuffers(cc::CompositorFrame* frame) override;
+ bool BindToClient(cc::OutputSurfaceClient* client) override;
+ void SwapBuffers(cc::CompositorFrame* frame) override;
#if defined(OS_ANDROID)
virtual void SetNeedsBeginFrame(bool enable) override;
#endif
// TODO(epenner): This seems out of place here and would be a better fit
// int CompositorThread after it is fully refactored (http://crbug/170828)
- virtual void UpdateSmoothnessTakesPriority(bool prefer_smoothness) override;
+ void UpdateSmoothnessTakesPriority(bool prefer_smoothness) override;
protected:
void ShortcutSwapAck(uint32 output_surface_id,
« no previous file with comments | « content/renderer/gin_browsertest.cc ('k') | content/renderer/gpu/compositor_software_output_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698