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

Unified Diff: content/browser/media/capture/desktop_capture_device_unittest.cc

Issue 1558633002: Cleanup: Remove double semicolons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Convert CP code to a while loop, fix nit 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: content/browser/media/capture/desktop_capture_device_unittest.cc
diff --git a/content/browser/media/capture/desktop_capture_device_unittest.cc b/content/browser/media/capture/desktop_capture_device_unittest.cc
index 8a51a80b0a2b622c59d4db71ed0a70b192be87cb..c7b7877cc48d39cd8f82aa6726ee3657fdd774d3 100644
--- a/content/browser/media/capture/desktop_capture_device_unittest.cc
+++ b/content/browser/media/capture/desktop_capture_device_unittest.cc
@@ -112,7 +112,7 @@ class MockDeviceClient : public media::VideoCaptureDevice::Client {
// kFakePixelValueFirst, and the rest of the bytes set to kFakePixelValue, for
// UnpackedFrame and InvertedFrame verification.
webrtc::BasicDesktopFrame* CreateBasicFrame(const webrtc::DesktopSize& size) {
- webrtc::BasicDesktopFrame* frame = new webrtc::BasicDesktopFrame(size);;
+ webrtc::BasicDesktopFrame* frame = new webrtc::BasicDesktopFrame(size);
DCHECK_EQ(frame->size().width() * webrtc::DesktopFrame::kBytesPerPixel,
frame->stride());
memset(frame->data(),
@@ -168,6 +168,7 @@ class UnpackedDesktopFrame : public webrtc::DesktopFrame {
delete[] data_;
}
+ private:
DISALLOW_COPY_AND_ASSIGN(UnpackedDesktopFrame);
};
@@ -202,7 +203,7 @@ class FakeScreenCapturer : public webrtc::ScreenCapturer {
}
frame_index_++;
- webrtc::DesktopFrame* frame = CreateBasicFrame(size);;
+ webrtc::DesktopFrame* frame = CreateBasicFrame(size);
if (generate_inverted_frames_) {
frame = new InvertedDesktopFrame(frame);

Powered by Google App Engine
This is Rietveld 408576698