Update comments in FallbackDesktopCapturerWrapper
Update the year in copyright headers from 2016 to 2017, and also rename a
variable in FallbackDesktopCapturerWrapperTest to follow coding style.
BUG=webrtc:7205
Review-Url: https://codereview.webrtc.org/2706193005
Cr-Commit-Position: refs/heads/master@{#16759}
diff --git a/webrtc/modules/desktop_capture/fallback_desktop_capturer_wrapper.cc b/webrtc/modules/desktop_capture/fallback_desktop_capturer_wrapper.cc
index e8762ad..f7f91ce 100644
--- a/webrtc/modules/desktop_capture/fallback_desktop_capturer_wrapper.cc
+++ b/webrtc/modules/desktop_capture/fallback_desktop_capturer_wrapper.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
+ * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
diff --git a/webrtc/modules/desktop_capture/fallback_desktop_capturer_wrapper.h b/webrtc/modules/desktop_capture/fallback_desktop_capturer_wrapper.h
index 1ef3b6f..b6436ce 100644
--- a/webrtc/modules/desktop_capture/fallback_desktop_capturer_wrapper.h
+++ b/webrtc/modules/desktop_capture/fallback_desktop_capturer_wrapper.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
+ * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
diff --git a/webrtc/modules/desktop_capture/fallback_desktop_capturer_wrapper_unittest.cc b/webrtc/modules/desktop_capture/fallback_desktop_capturer_wrapper_unittest.cc
index b3bf51b..106848b 100644
--- a/webrtc/modules/desktop_capture/fallback_desktop_capturer_wrapper_unittest.cc
+++ b/webrtc/modules/desktop_capture/fallback_desktop_capturer_wrapper_unittest.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
+ * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
@@ -80,15 +80,15 @@
// DesktopCapturer::Callback interface
void OnCaptureResult(DesktopCapturer::Result result,
std::unique_ptr<DesktopFrame> frame) override;
- PainterDesktopFrameGenerator frame_generator;
+ PainterDesktopFrameGenerator frame_generator_;
};
FallbackDesktopCapturerWrapperTest::FallbackDesktopCapturerWrapperTest() {
- frame_generator.size()->set(1024, 768);
+ frame_generator_.size()->set(1024, 768);
std::unique_ptr<DesktopCapturer> main_capturer =
- CreateDesktopCapturer(&frame_generator);
+ CreateDesktopCapturer(&frame_generator_);
std::unique_ptr<DesktopCapturer> secondary_capturer =
- CreateDesktopCapturer(&frame_generator);
+ CreateDesktopCapturer(&frame_generator_);
main_capturer_ = static_cast<FakeDesktopCapturer*>(main_capturer.get());
secondary_capturer_ =
static_cast<FakeDesktopCapturer*>(secondary_capturer.get());