LevelDBPrefStore: Initialize uninitialized member in constructor.
[chromium-blink-merge.git] / android_webview / common / aw_switches.cc
blob7b3f68681228ee7920be1376c93a8d8dc7b8477f
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "android_webview/common/aw_switches.h"
7 #include "base/command_line.h"
9 namespace switches {
11 const char kEnableUbercomp[] = "enable-ubercomp";
13 bool UbercompEnabled() {
14 static bool ubercomp_enabled =
15 CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableUbercomp);
16 return ubercomp_enabled;
19 } // namespace switches