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 6344b1fe758c977279945eed77ac6acc88500e84..af043412e5f5ce7c59dc284a199d9356b689d42d 100644 |
| --- a/android_webview/lib/main/aw_main_delegate.cc |
| +++ b/android_webview/lib/main/aw_main_delegate.cc |
| @@ -56,7 +56,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { |
| cl->AppendSwitch(cc::switches::kUseMapImage); |
| // WebView uses the Android system's scrollbars and overscroll glow. |
| - cl->AppendSwitch(switches::kHideScrollbars); |
| + string hide_scrollbar_switch(cc::switches::kSolidColorScrollbarColor); |
| + hide_scrollbar_switch.append("=0x00000000"); |
| + cl->AppendSwitch(hide_scrollbar_switch.c_str()); |
|
joth
2013/08/15 21:40:07
nit: c_str() not needed
wjmaclean
2013/08/16 13:34:16
Did not know that, thanks!
Done.
|
| cl->AppendSwitch(switches::kDisableOverscrollEdgeEffect); |
| // Not yet secure in single-process mode. |