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

Unified Diff: remoting/client/frame_producer.h

Issue 18233015: Abstract PPAPI's ImageData behind webrtc::DesktopFrame interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
Index: remoting/client/frame_producer.h
diff --git a/remoting/client/frame_producer.h b/remoting/client/frame_producer.h
index 3506e8ff297fd8ff45633e433c73940de3c1fa5c..195a099c25a0dafc46960a0e8ea45bfe08e33aa5 100644
--- a/remoting/client/frame_producer.h
+++ b/remoting/client/frame_producer.h
@@ -10,10 +10,6 @@
#include "third_party/skia/include/core/SkRegion.h"
#include "third_party/skia/include/core/SkSize.h"
-namespace pp {
-class ImageData;
-} // namespace pp
-
namespace remoting {
class FrameProducer {
@@ -26,7 +22,7 @@ class FrameProducer {
// be returned via the FrameConsumer::ReturnBuffer() call.
//
// The passed buffer must be large enough to hold the whole clipping area.
- virtual void DrawBuffer(pp::ImageData* buffer) = 0;
+ virtual void DrawBuffer(ImageBuffer* buffer) = 0;
// Requests repainting of the specified |region| of the frame as soon as
// possible. |region| is specified in output coordinates relative to

Powered by Google App Engine
This is Rietveld 408576698