• tommycli's avatar
    Plugin Power Saver: --enable-plugin-power-saver only overrides ALLOW. · f3c163fb
    tommycli authored
    --enable-plugin-power-saver flag previously overrode anything in the
    content settings flag. This breaks for BLOCK setting and unauthorized
    plugins, as the browser side needs to authorize the plugin first.
    
    This patch restricts the flag to only impact users on ALLOW. This makes
    sense to me, as the flag should not decrease the security of users
    who have explicitly chosen ASK or BLOCK.
    
    It will also dodge the bug.
    
    BUG=448171,403800
    
    Review URL: https://codereview.chromium.org/876803005
    
    Cr-Commit-Position: refs/heads/master@{#313210}
    f3c163fb
chrome_content_renderer_client.cc 62.5 KB