Improve performance of registering font preferences
commitb3ac1dfffb8afcce8f105ad42a17c1a36f012c72
authoraberent@chromium.org <aberent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 1 Nov 2012 18:55:14 +0000 (1 18:55 +0000)
committeraberent@chromium.org <aberent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 1 Nov 2012 18:55:14 +0000 (1 18:55 +0000)
treee7d39e79e7111489dc40274a13785b595b66ef2d
parent572dd399328c68d8b965923cb9f78f8e1c34f51f
Improve performance of registering font preferences

Rather than using the preference registry to check which font preferences are already registered keep track locally of which font preferences have defaults and don't attempt to register these a second time.

Change-Id: Ib1f9bc3937f230f2250b2fecc2a0590dabb5e2ca

BUG=158818

Review URL: https://chromiumcodereview.appspot.com/11307005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165449 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/prefs/prefs_tab_helper.cc