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

Issue 2258183003: Make GreasemonkeyApiJsString truly singleton. (Closed)

Created:
4 years, 4 months ago by lazyboy
Modified:
4 years, 4 months ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make GreasemonkeyApiJsString truly singleton. Before this change, ::GetSource() would create a new string from StringPiece every time. BUG=622464 Committed: https://crrev.com/de26faaca0525f21a71dfd440d113069b7fb74ba Cr-Commit-Position: refs/heads/master@{#413478}

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comments + sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -6 lines) Patch
M extensions/renderer/user_script_injector.cc View 1 1 chunk +8 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
lazyboy
4 years, 4 months ago (2016-08-20 01:32:55 UTC) #4
Devlin
LGTM https://codereview.chromium.org/2258183003/diff/1/extensions/renderer/user_script_injector.cc File extensions/renderer/user_script_injector.cc (right): https://codereview.chromium.org/2258183003/diff/1/extensions/renderer/user_script_injector.cc#newcode68 extensions/renderer/user_script_injector.cc:68: // Data is owned by ResourceBundle. Not quite ...
4 years, 4 months ago (2016-08-20 01:58:37 UTC) #5
lazyboy
https://codereview.chromium.org/2258183003/diff/1/extensions/renderer/user_script_injector.cc File extensions/renderer/user_script_injector.cc (right): https://codereview.chromium.org/2258183003/diff/1/extensions/renderer/user_script_injector.cc#newcode68 extensions/renderer/user_script_injector.cc:68: // Data is owned by ResourceBundle. On 2016/08/20 01:58:36, ...
4 years, 4 months ago (2016-08-22 17:09:50 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/2258183003/20001
4 years, 4 months ago (2016-08-22 18:13:01 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-22 18:36:46 UTC) #16
commit-bot: I haz the power
4 years, 4 months ago (2016-08-22 18:39:46 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/de26faaca0525f21a71dfd440d113069b7fb74ba
Cr-Commit-Position: refs/heads/master@{#413478}

Powered by Google App Engine
This is Rietveld 408576698