Chromium Code Reviews| Index: android_webview/lib/main/aw_main_delegate.cc |
| diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc |
| index d9cbab894a92f23ccad759f53f18d84dc4bf68ed..6e334ef07b04b2a855696b14bbf454433dee26a7 100644 |
| --- a/android_webview/lib/main/aw_main_delegate.cc |
| +++ b/android_webview/lib/main/aw_main_delegate.cc |
| @@ -90,6 +90,10 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { |
| // WebView does not yet support screen orientation locking. |
| cl->AppendSwitch(switches::kDisableScreenOrientationLock); |
| + // WebView does not (yet) save Chromium data during shutdown, so add setting |
| + // for Chrome to aggressively persist DOM Storage to minimize data loss. |
|
michaeln
2015/05/07 23:19:03
might be nice to put the link to the android speci
cmumford
2015/05/08 16:02:48
Done.
|
| + cl->AppendSwitch(switches::kEnableAggressiveDOMStorageFlushing); |
| + |
| // This is needed to be able to mmap the V8 snapshot and ICU data file |
| // directly from the WebView .apk. |
| // This needs to be here so that it gets to run before the code in |