diff options
author | michaelbai <michaelbai@chromium.org> | 2015-10-23 10:38:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-23 17:39:27 +0000 |
commit | a29b0f4817b9f3eea419c902951af0a8c979d519 (patch) | |
tree | 65f438c1e210ed77d689d01d459077babc2a3b02 /android_webview/lib | |
parent | 22d6af72f6da6684dba6049fd0a521a1808a6355 (diff) | |
download | chromium_src-a29b0f4817b9f3eea419c902951af0a8c979d519.zip chromium_src-a29b0f4817b9f3eea419c902951af0a8c979d519.tar.gz chromium_src-a29b0f4817b9f3eea419c902951af0a8c979d519.tar.bz2 |
GN WebView: add //android_webview/common target
BUG=532905
Review URL: https://codereview.chromium.org/1408933007
Cr-Commit-Position: refs/heads/master@{#355820}
Diffstat (limited to 'android_webview/lib')
-rw-r--r-- | android_webview/lib/main/aw_main_delegate.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc index 8fe08c7..e2f7fc1 100644 --- a/android_webview/lib/main/aw_main_delegate.cc +++ b/android_webview/lib/main/aw_main_delegate.cc @@ -89,7 +89,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { cl->AppendSwitch(switches::kDisableNotifications); // WebRTC hardware decoding is not supported, internal bug 15075307 +#if defined(ENABLE_WEBRTC) cl->AppendSwitch(switches::kDisableWebRtcHWDecoding); +#endif cl->AppendSwitch(switches::kDisableAcceleratedVideoDecode); // This is needed for sharing textures across the different GL threads. |