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

Unified Diff: third_party/WebKit/Source/modules/mediacapturefromelement/AutoCanvasDrawListener.cpp

Issue 1508023002: Add TimedCanvasDrawListener (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@spec-change
Patch Set: Created 5 years 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: third_party/WebKit/Source/modules/mediacapturefromelement/AutoCanvasDrawListener.cpp
diff --git a/third_party/WebKit/Source/modules/mediacapturefromelement/AutoCanvasDrawListener.cpp b/third_party/WebKit/Source/modules/mediacapturefromelement/AutoCanvasDrawListener.cpp
index 72f3b210782f9de4aff3991991e5fcb07f1fd857..ea97e5356a964e75687684ba69f604c82d868a0d 100644
--- a/third_party/WebKit/Source/modules/mediacapturefromelement/AutoCanvasDrawListener.cpp
+++ b/third_party/WebKit/Source/modules/mediacapturefromelement/AutoCanvasDrawListener.cpp
@@ -15,19 +15,9 @@ AutoCanvasDrawListener* AutoCanvasDrawListener::create(const PassOwnPtr<WebCanva
return new AutoCanvasDrawListener(handler);
}
-bool AutoCanvasDrawListener::needsNewFrame() const
-{
- return m_handler->needsNewFrame();
-}
-
-void AutoCanvasDrawListener::sendNewFrame(const WTF::PassRefPtr<SkImage>& image)
-{
- m_handler->sendNewFrame(WebSkImage(image));
-}
-
AutoCanvasDrawListener::AutoCanvasDrawListener(const PassOwnPtr<WebCanvasCaptureHandler>& handler)
+ :CanvasDrawListener(handler)
esprehn 2015/12/11 10:38:23 missing space
emircan 2015/12/11 19:25:15 Done.
{
- m_handler = handler;
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698