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

Issue 2213393002: Defer computing localeForHan until needed (Closed)

Created:
4 years, 4 months ago by kojii
Modified:
4 years, 4 months ago
Reviewers:
drott
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Defer computing localeForHan until needed This patch defers computing LayoutLocale::localeForHan() until it is needed. On Mac, localeForHan() is not used. On other platforms, it is used only when fallback for Han characters is needed. BUG=586517, 633943 Committed: https://crrev.com/f7f744c29306b76d03bd3a9146562bb1ca2f830f Cr-Commit-Position: refs/heads/master@{#410424}

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : fix #

Total comments: 4

Patch Set 4 : drott review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -6 lines) Patch
M third_party/WebKit/Source/platform/LayoutLocale.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/LayoutLocale.cpp View 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/AcceptLanguagesResolver.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/AcceptLanguagesResolver.cpp View 1 2 3 1 chunk +17 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/AcceptLanguagesResolverTest.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (21 generated)
kojii
PTAL.
4 years, 4 months ago (2016-08-08 06:57:50 UTC) #13
drott
I am assuming this is trying to address mainly 633943? Did this really reduce memory ...
4 years, 4 months ago (2016-08-08 12:36:52 UTC) #16
kojii
On 2016/08/08 at 12:36:52, drott wrote: > I am assuming this is trying to address ...
4 years, 4 months ago (2016-08-08 14:11:02 UTC) #17
kojii
Forgot to add that there's one more possibility I'd like to try in a separate ...
4 years, 4 months ago (2016-08-08 15:01:18 UTC) #18
drott
I reviewed it now, LGTM with nits. https://codereview.chromium.org/2213393002/diff/40001/third_party/WebKit/Source/platform/LayoutLocale.h File third_party/WebKit/Source/platform/LayoutLocale.h (right): https://codereview.chromium.org/2213393002/diff/40001/third_party/WebKit/Source/platform/LayoutLocale.h#newcode45 third_party/WebKit/Source/platform/LayoutLocale.h:45: static void ...
4 years, 4 months ago (2016-08-08 15:16:37 UTC) #19
kojii
https://codereview.chromium.org/2213393002/diff/40001/third_party/WebKit/Source/platform/LayoutLocale.h File third_party/WebKit/Source/platform/LayoutLocale.h (right): https://codereview.chromium.org/2213393002/diff/40001/third_party/WebKit/Source/platform/LayoutLocale.h#newcode45 third_party/WebKit/Source/platform/LayoutLocale.h:45: static void InvalidateLocaleForHan() { s_defaultForHanComputed = false; } On ...
4 years, 4 months ago (2016-08-08 15:33:54 UTC) #22
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/2213393002/60001
4 years, 4 months ago (2016-08-08 17:42:35 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-08 20:17:53 UTC) #28
commit-bot: I haz the power
4 years, 4 months ago (2016-08-08 20:21:19 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f7f744c29306b76d03bd3a9146562bb1ca2f830f
Cr-Commit-Position: refs/heads/master@{#410424}

Powered by Google App Engine
This is Rietveld 408576698