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

Issue 15960012: Reduce usage of WebString::data (Chromium side) (Closed)

Created:
7 years, 6 months ago by abarth-chromium
Modified:
7 years, 6 months ago
CC:
chromium-reviews, rpetterson, jam, rouslan+spellwatch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, groby+spellwatch_chromium.org, cc-bugs_chromium.org, eseidel
Visibility:
Public.

Description

Reduce usage of WebString::data (Chromium side) WebString::data forces a widening of the underlying String from 8 bits to 16 bits. We should remove this function because most callers of the API don't understand these implementation details of WebString. In order to remove the API, we need to remove all the callers. This CL removes all the callers I could find in Chromium. This CL depends on https://codereview.chromium.org/15806014/ which removes the callers in Blink (and introduces WebString::at to address one data() use case). R=jamesr TBR=groby@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202766

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -23 lines) Patch
M chrome/renderer/spellchecker/spellcheck_provider.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/renderer_webcookiejar_impl.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.cc View 1 chunk +1 line, -2 lines 0 comments Download
M webkit/glue/glue_serialize_deprecated.cc View 1 3 chunks +10 lines, -8 lines 0 comments Download
M webkit/plugins/ppapi/event_conversion.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/renderer/compositor_bindings/web_layer_impl.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
abarth-chromium
7 years, 6 months ago (2013-05-28 17:06:59 UTC) #1
jamesr
lgtm
7 years, 6 months ago (2013-05-28 17:17:24 UTC) #2
abarth-chromium
Thanks. (Dependent patch landed in Blink@151268---waiting for roll.)
7 years, 6 months ago (2013-05-28 17:53:29 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/15960012/1
7 years, 6 months ago (2013-05-29 01:02:33 UTC) #4
commit-bot: I haz the power
Failed to apply patch for webkit/glue/glue_serialize.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
7 years, 6 months ago (2013-05-29 01:02:35 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/15960012/6001
7 years, 6 months ago (2013-05-29 01:13:34 UTC) #6
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=5478
7 years, 6 months ago (2013-05-29 01:32:41 UTC) #7
abarth-chromium
@groby: Apparently I'm missing an OWNER for chrome/renderer/spellchecker. I'm going to add you as a ...
7 years, 6 months ago (2013-05-29 01:42:47 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/15960012/6001
7 years, 6 months ago (2013-05-29 01:43:36 UTC) #9
groby-ooo-7-16
Totally, and thanks for cleaning this up. LGTM
7 years, 6 months ago (2013-05-29 01:44:33 UTC) #10
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 03:55:05 UTC) #11
Message was sent while issue was closed.
Change committed as 202766

Powered by Google App Engine
This is Rietveld 408576698