Conditionally update FontSelector on invalidation.
commit12f85345b356a3453d5c4540a33b21b753534df1
authorsigbjornf@opera.com <sigbjornf@opera.com>
Mon, 14 Sep 2015 15:41:58 +0000 (14 15:41 +0000)
committersigbjornf@opera.com <sigbjornf@opera.com>
Mon, 14 Sep 2015 15:41:58 +0000 (14 15:41 +0000)
treea5f2768006005e2b337a59421840d9327a0538d6
parent5a2ea83b6e9ab2b1b3cfa2a107f07cc5060faf4e
Conditionally update FontSelector on invalidation.

When invalidating a FontFallbackList to use a new FontSelector, check that
the new FontSelector really represents a change. Avoids needless
RefPtr/Persistent churn.

R=haraken
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@202203 bbb929c8-8fbe-4397-9dbb-9b2b20218538
third_party/WebKit/Source/platform/fonts/FontFallbackList.cpp