Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Issue 2653773006: Make FontFaceCache::version return unique number across all instances (Closed)

Created:
3 years, 11 months ago by Kunihiko Sakamoto
Modified:
3 years, 11 months ago
Reviewers:
drott, eae
CC:
drott, darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, kojii, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make FontFaceCache::version return unique number across all instances The global FallbackListShapeCache may contain entries created in multiple documents that have different @font-face rules. Those entries are versioned by FontFaceCache version, but entries from different FontFaceCache instances can have same version number. This patch makes sure that ShapeCache is invalidated when cached data is created within the context of different FontFaceCache instance. BUG=682999 Review-Url: https://codereview.chromium.org/2653773006 Cr-Commit-Position: refs/heads/master@{#445744} Committed: https://chromium.googlesource.com/chromium/src/+/f2bb61c5104755025adb0f1c5327de420311d32e

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -4 lines) Patch
A third_party/WebKit/LayoutTests/fast/css/font-face-cache-version.html View 1 chunk +22 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/resources/font-face-cache-version-frame1.html View 1 chunk +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/resources/font-face-cache-version-frame2.html View 1 chunk +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/FontFaceCache.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/FontFaceCache.cpp View 4 chunks +9 lines, -3 lines 1 comment Download

Messages

Total messages: 15 (10 generated)
Kunihiko Sakamoto
3 years, 11 months ago (2017-01-24 09:36:07 UTC) #5
drott
LGTM, great! Thanks for figuring this out and fixing this, I also like the compact ...
3 years, 11 months ago (2017-01-24 12:16:21 UTC) #9
eae
On 2017/01/24 12:16:21, drott wrote: > LGTM, great! Thanks for figuring this out and fixing ...
3 years, 11 months ago (2017-01-24 16:49:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2653773006/1
3 years, 11 months ago (2017-01-24 16:49:51 UTC) #12
commit-bot: I haz the power
3 years, 11 months ago (2017-01-24 16:56:17 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/f2bb61c5104755025adb0f1c5327...

Powered by Google App Engine
This is Rietveld 408576698