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

Unified Diff: content/common/gpu/client/gl_helper.cc

Issue 671663002: Standardize usage of virtual/override/final in content/ (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/common/gpu/client/gl_helper.cc
diff --git a/content/common/gpu/client/gl_helper.cc b/content/common/gpu/client/gl_helper.cc
index 5aa603038fd1ac79b0a7ee7ef038574f6aa1fd9b..0ba9193c8742eea0999b0de5e5433d424d911963 100644
--- a/content/common/gpu/client/gl_helper.cc
+++ b/content/common/gpu/client/gl_helper.cc
@@ -249,13 +249,12 @@ class GLHelper::CopyTextureToImpl
bool flip_vertically,
ReadbackSwizzle swizzle);
- virtual void ReadbackYUV(const gpu::Mailbox& mailbox,
- uint32 sync_point,
- const scoped_refptr<media::VideoFrame>& target,
- const base::Callback<void(bool)>& callback)
- override;
+ void ReadbackYUV(const gpu::Mailbox& mailbox,
+ uint32 sync_point,
+ const scoped_refptr<media::VideoFrame>& target,
+ const base::Callback<void(bool)>& callback) override;
- virtual ScalerInterface* scaler() override { return scaler_.scaler(); }
+ ScalerInterface* scaler() override { return scaler_.scaler(); }
private:
GLES2Interface* gl_;
@@ -287,13 +286,12 @@ class GLHelper::CopyTextureToImpl
bool flip_vertically,
ReadbackSwizzle swizzle);
- virtual void ReadbackYUV(const gpu::Mailbox& mailbox,
- uint32 sync_point,
- const scoped_refptr<media::VideoFrame>& target,
- const base::Callback<void(bool)>& callback)
- override;
+ void ReadbackYUV(const gpu::Mailbox& mailbox,
+ uint32 sync_point,
+ const scoped_refptr<media::VideoFrame>& target,
+ const base::Callback<void(bool)>& callback) override;
- virtual ScalerInterface* scaler() override { return scaler_.scaler(); }
+ ScalerInterface* scaler() override { return scaler_.scaler(); }
private:
GLES2Interface* gl_;
« no previous file with comments | « content/common/gpu/client/context_provider_command_buffer.h ('k') | content/common/gpu/client/gl_helper_scaling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698