• disher@chromium.org's avatar
    Refresh output cache when setting display mode · 1be92e0a
    disher@chromium.org authored
    Historically, all the entry-points into the OutputConfigurator needed to refresh
    their view of the cached output data.  This newly-added entry-point doesn't do
    this which can lead to the cached data becoming stale (since it technically only
    applies within the context where the corresponding XRRScreenResources are
    valid).
    Ideally, no such information would be cached and every attempt to evaluate or
    change the state of the video outputs would start by requesting this structure.
    That change is of larger scope and risk, though, so this is the tactical
    solution to the immediate problem suitable for porting to stable branches.
    
    BUG=chromium:140807
    TEST=Manually tested that ctrl-F4 and "manage displays" (in chrome://settings)
    work on a Lumpy the same way with and without this change
    
    
    Review URL: https://chromiumcodereview.appspot.com/10825306
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151696 0039d316-1c4b-4281-b951-d872f2087c98
    1be92e0a
output_configurator.cc 31.9 KB