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

Unified Diff: content/renderer/media/android/stream_texture_factory_impl.h

Issue 893333004: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix formatting Created 5 years, 10 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/media/android/stream_texture_factory_impl.h
diff --git a/content/renderer/media/android/stream_texture_factory_impl.h b/content/renderer/media/android/stream_texture_factory_impl.h
index f5ded1c8b059b73a02cf5a1e4105721f04062999..0374879a39aa0404f2f92fc57ab938112365094d 100644
--- a/content/renderer/media/android/stream_texture_factory_impl.h
+++ b/content/renderer/media/android/stream_texture_factory_impl.h
@@ -29,17 +29,15 @@ class StreamTextureFactoryImpl : public StreamTextureFactory {
int frame_id);
// StreamTextureFactory implementation.
- virtual StreamTextureProxy* CreateProxy() override;
- virtual void EstablishPeer(int32 stream_id, int player_id) override;
- virtual unsigned CreateStreamTexture(unsigned texture_target,
- unsigned* texture_id,
- gpu::Mailbox* texture_mailbox) override;
- virtual void SetStreamTextureSize(int32 texture_id,
- const gfx::Size& size) override;
- virtual gpu::gles2::GLES2Interface* ContextGL() override;
- virtual void AddObserver(StreamTextureFactoryContextObserver* obs) override;
- virtual void RemoveObserver(
- StreamTextureFactoryContextObserver* obs) override;
+ StreamTextureProxy* CreateProxy() override;
+ void EstablishPeer(int32 stream_id, int player_id) override;
+ unsigned CreateStreamTexture(unsigned texture_target,
+ unsigned* texture_id,
+ gpu::Mailbox* texture_mailbox) override;
+ void SetStreamTextureSize(int32 texture_id, const gfx::Size& size) override;
+ gpu::gles2::GLES2Interface* ContextGL() override;
+ void AddObserver(StreamTextureFactoryContextObserver* obs) override;
+ void RemoveObserver(StreamTextureFactoryContextObserver* obs) override;
private:
friend class base::RefCounted<StreamTextureFactoryImpl>;
@@ -47,7 +45,7 @@ class StreamTextureFactoryImpl : public StreamTextureFactory {
const scoped_refptr<cc::ContextProvider>& context_provider,
GpuChannelHost* channel,
int frame_id);
- virtual ~StreamTextureFactoryImpl();
+ ~StreamTextureFactoryImpl() override;
scoped_refptr<cc::ContextProvider> context_provider_;
scoped_refptr<GpuChannelHost> channel_;

Powered by Google App Engine
This is Rietveld 408576698