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

Unified Diff: media/mojo/services/mojo_renderer_service.h

Issue 2087373003: media: Use NON_EXPORTED_BASE for MojoRendererService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_renderer_service.h
diff --git a/media/mojo/services/mojo_renderer_service.h b/media/mojo/services/mojo_renderer_service.h
index fb108738424572458b7d2a30cebf48a268f155dc..1bccd350180c691e0eb8f5a589c951cb33db5274 100644
--- a/media/mojo/services/mojo_renderer_service.h
+++ b/media/mojo/services/mojo_renderer_service.h
@@ -6,10 +6,10 @@
#define MEDIA_MOJO_SERVICES_MOJO_RENDERER_SERVICE_H_
#include <stdint.h>
-
#include <memory>
#include "base/callback.h"
+#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
@@ -30,8 +30,9 @@ class Renderer;
// A mojom::Renderer implementation that use a media::Renderer to render
// media streams.
-class MEDIA_MOJO_EXPORT MojoRendererService : public mojom::Renderer,
- public RendererClient {
+class MEDIA_MOJO_EXPORT MojoRendererService
+ : NON_EXPORTED_BASE(public mojom::Renderer),
+ public RendererClient {
public:
// |mojo_cdm_service_context| can be used to find the CDM to support
// encrypted media. If null, encrypted media is not supported.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698