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

Issue 2617803002: Avoid URL allocation for GetContentSettingFromRules fast path (Closed)

Created:
3 years, 11 months ago by Charlie Harrison
Modified:
3 years, 11 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid URL allocation for GetContentSettingFromRules fast path This function is called all the time for both image and script loads from Blink, resulting in extra WebURL -> GURL allocations. This is particularly bad for images loaded via data URLs which can be big. BUG=657978

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -9 lines) Patch
M chrome/renderer/content_settings_observer.cc View 4 chunks +10 lines, -9 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
Charlie Harrison
jochen: PTAL? Probably we can be smarter about how often we call this from Blink ...
3 years, 11 months ago (2017-01-05 21:47:04 UTC) #4
jochen (gone - plz use gerrit)
lgtm can you please file a bug about invoking this twice per load?
3 years, 11 months ago (2017-01-09 08:42:29 UTC) #7
Charlie Harrison
On 2017/01/09 08:42:29, jochen wrote: > lgtm > > can you please file a bug ...
3 years, 11 months ago (2017-01-09 13:14:49 UTC) #8
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/2617803002/1
3 years, 11 months ago (2017-01-09 13:15:20 UTC) #10
commit-bot: I haz the power
Prior attempt to commit was detected, but we were not able to check whether the ...
3 years, 11 months ago (2017-01-09 14:06:19 UTC) #13
Charlie Harrison
3 years, 11 months ago (2017-01-09 14:23:30 UTC) #14
On 2017/01/09 14:06:19, commit-bot: I haz the power wrote:
> Prior attempt to commit was detected, but we were not able to check whether
the
> issue was successfully committed. Please check Git history manually and
re-check
> CQ or close this issue as needed.

Manually, it looks like this successfully landed. Odd. I'll close.

Powered by Google App Engine
This is Rietveld 408576698