diff options
author | torne <torne@chromium.org> | 2016-02-23 12:51:24 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-23 20:53:41 +0000 |
commit | 9aab13ccc6998c63acef84a523c29b40f38ef343 (patch) | |
tree | 4d6349fb316a0351c22d5fe6b8a76dce6561005a /android_webview/glue | |
parent | ae00cee0bcfc03f6065d0c28254d55a3010f6588 (diff) | |
download | chromium_src-9aab13ccc6998c63acef84a523c29b40f38ef343.zip chromium_src-9aab13ccc6998c63acef84a523c29b40f38ef343.tar.gz chromium_src-9aab13ccc6998c63acef84a523c29b40f38ef343.tar.bz2 |
Remove obsolete command line flag.
enable-dcheck hasn't done anything for a long time, we no longer support
toggling DCHECK at runtime and they are entirely compiled out of release
builds unless dcheck_always_on=1 is set (at which point they crash by
default without needing to be runtime-enabled).
BUG=
Review URL: https://codereview.chromium.org/1729573002
Cr-Commit-Position: refs/heads/master@{#377079}
Diffstat (limited to 'android_webview/glue')
-rw-r--r-- | android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java b/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java index bf4ec89..3b4d3a4 100644 --- a/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java +++ b/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java @@ -121,13 +121,6 @@ public class WebViewChromiumFactoryProvider implements WebViewFactoryProvider { CommandLine.init(null); } - CommandLine cl = CommandLine.getInstance(); - // TODO: currently in a relase build the DCHECKs only log. We either need to insall - // a report handler with SetLogReportHandler to make them assert, or else compile - // them out of the build altogether (b/8284203). Either way, so long they're - // compiled in, we may as unconditionally enable them here. - cl.appendSwitch("enable-dcheck"); - ThreadUtils.setWillOverrideUiThread(); // Load chromium library. AwBrowserProcess.loadLibrary(getWrappedCurrentApplicationContext()); |