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

Unified Diff: media/video/capture/win/video_capture_device_factory_win.cc

Issue 699453002: win/clang: Fix a warning by removing superflous braces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/capture/win/video_capture_device_factory_win.cc
diff --git a/media/video/capture/win/video_capture_device_factory_win.cc b/media/video/capture/win/video_capture_device_factory_win.cc
index affad623adfb00ea77e4df501a6100e3d6b39df1..cc374a4042ee01aa1c241e65554061d73bd31641 100644
--- a/media/video/capture/win/video_capture_device_factory_win.cc
+++ b/media/video/capture/win/video_capture_device_factory_win.cc
@@ -52,12 +52,12 @@ static base::LazyInstance<MFInitializerSingleton> g_mf_initialize =
// Blacklisted devices are identified by a characteristic prefix of the name.
// This prefix is used case-insensitively. This list must be kept in sync with
// |BlacklistedCameraNames|.
-static const char* kBlacklistedCameraNames[] = {
+static const char* const kBlacklistedCameraNames[] = {
// Name of a fake DirectShow filter on computers with GTalk installed.
- {"Google Camera Adapter"},
+ "Google Camera Adapter",
// The following two software WebCams cause crashes.
- {"IP Camera [JPEG/MJPEG]"},
- {"CyberLink Webcam Splitter"}
+ "IP Camera [JPEG/MJPEG]",
+ "CyberLink Webcam Splitter",
};
static void EnsureMediaFoundationInit() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698