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

Unified Diff: cc/layers/video_frame_provider.h

Issue 1033563002: cc: Various code safety improvements in video compositing code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 5 years, 9 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 | cc/layers/video_frame_provider_client_impl.h » ('j') | cc/layers/video_layer_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/video_frame_provider.h
diff --git a/cc/layers/video_frame_provider.h b/cc/layers/video_frame_provider.h
index 784d951fe52fcef7e8476b96bd910cc00b82f61f..45e6c4110c5364ec5deb36e2e1a7504fcbbf007d 100644
--- a/cc/layers/video_frame_provider.h
+++ b/cc/layers/video_frame_provider.h
@@ -6,6 +6,7 @@
#define CC_LAYERS_VIDEO_FRAME_PROVIDER_H_
#include "base/memory/ref_counted.h"
+#include "cc/base/cc_export.h"
namespace media {
class VideoFrame;
@@ -18,11 +19,11 @@ namespace cc {
// PutCurrentFrame() from the compositor thread. If so, the caller is
// responsible for making sure Client::DidReceiveFrame() and
// Client::DidUpdateMatrix() are only called from this same thread.
-class VideoFrameProvider {
+class CC_EXPORT VideoFrameProvider {
public:
virtual ~VideoFrameProvider() {}
- class Client {
+ class CC_EXPORT Client {
public:
// Provider will call this method to tell the client to stop using it.
// StopUsingProvider() may be called from any thread. The client should
« no previous file with comments | « no previous file | cc/layers/video_frame_provider_client_impl.h » ('j') | cc/layers/video_layer_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698