Fixes up threading during cleanup.

BUG=313038

Review URL: https://codereview.chromium.org/51763002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232037 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 232037
Fix UpdateWindowMinMaxSize. (Mac)

BUG=313393

Review URL: https://codereview.chromium.org/46243004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232038 0039d316-1c4b-4281-b951-d872f2087c98
Pull out some duplicated code into a common helper method

Each of these functions was doing essentially the same thing: iterating
over each ManagementPolicy::Provider object in a list applying one of
the functions from that interface on it.

BUG=none

Review URL: https://codereview.chromium.org/49383006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232039 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 232038
Check for null tilings when computing GPUMemoryUsageInBytes

R=enne
NOTRY=True

Review URL: https://codereview.chromium.org/51573002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232040 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 232040