Compare the sizes of current & previous frames before each capture.
This ensures that the capturer will never try to preserve pixels from a preceding frame of a different size, in the case where the display has been resized but we have not yet received the resize notification. BUG=156201 Review URL: https://chromiumcodereview.appspot.com/11196012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162484 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment