Commit ed76c99e authored by thakis's avatar thakis Committed by Commit bot

win/clang: Fix a warning by removing superflous braces.

Also make a global more const.

BUG=82385

Review URL: https://codereview.chromium.org/699453002

Cr-Commit-Position: refs/heads/master@{#302432}
parent 421a4696
......@@ -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() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment