• Torne (Richard Coles)'s avatar
    WebView: Fix CookieManager file:// scheme functions. · 5f8ef208
    Torne (Richard Coles) authored
    If the first CookieManager API called by the app was
    SetAcceptFileSchemeCookies or AllowFileSchemeCookies, the app would
    crash with a segfault as the CookieMonster has not yet been created. Add
    the call to ensure that it exists (creating the temporary one if needed)
    before accessing it.
    
    Bug: 11141036
    Change-Id: I7a8a5960b159d34adfbd9aa00adf05896ea207d0
    5f8ef208
cookie_manager.cc 17.6 KB