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

Unified Diff: remoting/host/ipc_video_frame_capturer.cc

Issue 11821004: Remove unused VideoFrameCapturer::size_most_recent() method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback Created 7 years, 11 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 | « remoting/host/ipc_video_frame_capturer.h ('k') | remoting/host/video_scheduler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_video_frame_capturer.cc
diff --git a/remoting/host/ipc_video_frame_capturer.cc b/remoting/host/ipc_video_frame_capturer.cc
index 4c67a5d11d9d648e5539639fe17564c909f50d9f..ce35bc187f9e57a3b0f416db710719a58b70c69e 100644
--- a/remoting/host/ipc_video_frame_capturer.cc
+++ b/remoting/host/ipc_video_frame_capturer.cc
@@ -13,8 +13,7 @@ namespace remoting {
IpcVideoFrameCapturer::IpcVideoFrameCapturer(
scoped_refptr<DesktopSessionProxy> desktop_session_proxy)
: delegate_(NULL),
- desktop_session_proxy_(desktop_session_proxy),
- size_most_recent_(SkISize::Make(0, 0)) {
+ desktop_session_proxy_(desktop_session_proxy) {
}
IpcVideoFrameCapturer::~IpcVideoFrameCapturer() {
@@ -38,15 +37,8 @@ void IpcVideoFrameCapturer::CaptureFrame() {
desktop_session_proxy_->CaptureFrame();
}
-const SkISize& IpcVideoFrameCapturer::size_most_recent() const {
- return size_most_recent_;
-}
-
void IpcVideoFrameCapturer::OnCaptureCompleted(
scoped_refptr<CaptureData> capture_data) {
- if (capture_data)
- size_most_recent_ = capture_data->size();
-
if (delegate_)
delegate_->OnCaptureCompleted(capture_data);
}
« no previous file with comments | « remoting/host/ipc_video_frame_capturer.h ('k') | remoting/host/video_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698