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

Issue 1389383003: WIP: Introduce CompressibleString

Created:
5 years, 2 months ago by hajimehoshi
Modified:
4 years, 11 months ago
Reviewers:
haraken, esprehn
CC:
apavlov+blink_chromium.org, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, blink-reviews-wtf_chromium.org, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, dglazkov+blink, eae+blinkwatch, gavinp+loader_chromium.org, Nate Chapin, kinuko+watch, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, Mikhail, pfeldman+blink_chromium.org, rwlbuis, sergeyv+blink_chromium.org, sof, tyoshino+watch_chromium.org, yurys+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WIP: Introduce CompressibleString BUG= CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:linux_perf_bisect;tryserver.chromium.perf:mac_10_10_perf_bisect;tryserver.chromium.perf:win_perf_bisect;tryserver.chromium.perf:android_nexus5_perf_bisect

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 30

Patch Set 5 : #

Patch Set 6 : Reviews #

Patch Set 7 : Move CompressableString to platform #

Patch Set 8 : Rebasing #

Patch Set 9 : Use raw pointers #

Patch Set 10 : Call purgeMemory #

Patch Set 11 : Bug fix #

Patch Set 12 : Bug fix: V8DebuggerImpl causes crash #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : rebasing #

Patch Set 16 : Change CompressableString not ref-counted #

Patch Set 17 : Use V8PerIsolateData to store CompressableString #

Patch Set 18 : #

Patch Set 19 : Bug fix #

Total comments: 25

Patch Set 20 : haraken's review #

Total comments: 26

Patch Set 21 : haraken's review #

Patch Set 22 : #

Patch Set 23 : #

Patch Set 24 : Bug fix: memcpy after fastMalloc #

Patch Set 25 : Move CompressibleString from platform to wtf #

Patch Set 26 : Move tests #

Patch Set 27 : #

Patch Set 28 : Rebase onto crrev.com/1564773002 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+691 lines, -408 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/autofill/autofill_server_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/importer/edge_importer_browsertest_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +1 line, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -0 lines 0 comments Download
M chrome/utility/importer/edge_database_reader_unittest_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -1 line 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +1 line, -1 line 0 comments Download
M components/autofill/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 4 chunks +2 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_download_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +1 line, -1 line 0 comments Download
M components/autofill/core/browser/autofill_download_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +1 line, -1 line 0 comments Download
M components/components.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +0 lines, -1 line 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +0 lines, -5 lines 0 comments Download
D components/compression.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +0 lines, -24 lines 0 comments Download
D components/compression/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +0 lines, -27 lines 0 comments Download
D components/compression/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +0 lines, -3 lines 0 comments Download
D components/compression/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +0 lines, -6 lines 0 comments Download
D components/compression/compression_utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +0 lines, -22 lines 0 comments Download
D components/compression/compression_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +0 lines, -164 lines 0 comments Download
D components/compression/compression_utils_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +0 lines, -91 lines 0 comments Download
M components/metrics.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -1 line 0 comments Download
M components/metrics/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +2 lines, -2 lines 0 comments Download
M components/metrics/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -0 lines 0 comments Download
M components/metrics/metrics_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +1 line, -1 line 0 comments Download
M components/metrics/persisted_logs.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -1 line 0 comments Download
M components/metrics/persisted_logs_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -1 line 0 comments Download
M components/variations.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -1 line 0 comments Download
M components/variations/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +2 lines, -2 lines 0 comments Download
M components/variations/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -0 lines 0 comments Download
M components/variations/service/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +0 lines, -1 line 0 comments Download
M components/variations/variations_seed_store.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -1 line 0 comments Download
M components/variations/variations_seed_store_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8Binding.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8StringResource.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 5 chunks +91 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8StringResource.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +13 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8ValueCache.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +43 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8ValueCache.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 4 chunks +73 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ScriptResource.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ScriptResource.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/frame/DOMWindow.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/DOMWindow.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Window.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/Page.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/WTFThreadData.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/WTFThreadData.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +6 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/wtf/text/CompressibleString.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +80 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/wtf/text/CompressibleString.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +210 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/wtf/text/CompressibleStringTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +40 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/wtf.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/wtf.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/zlib/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/zlib/google/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +4 lines, -0 lines 0 comments Download
A + third_party/zlib/google/compression_utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +3 lines, -3 lines 0 comments Download
A + third_party/zlib/google/compression_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -1 line 0 comments Download
A + third_party/zlib/google/compression_utils_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -1 line 0 comments Download
M third_party/zlib/google/zip.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +14 lines, -0 lines 0 comments Download
M tools/perf/benchmarks/memory_infra.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/page_sets/blink_memory_mobile.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (4 generated)
hajimehoshi
haraken: This is still work in progress but I think this is almost finished. PTAL
5 years, 2 months ago (2015-10-20 11:47:47 UTC) #2
haraken
Sorry about the review delay... The approach looks good to me. https://codereview.chromium.org/1389383003/diff/60001/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp File third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp (right): ...
5 years, 2 months ago (2015-10-22 16:03:31 UTC) #3
esprehn
https://codereview.chromium.org/1389383003/diff/60001/third_party/WebKit/Source/core/fetch/ScriptResource.h File third_party/WebKit/Source/core/fetch/ScriptResource.h (right): https://codereview.chromium.org/1389383003/diff/60001/third_party/WebKit/Source/core/fetch/ScriptResource.h#newcode61 third_party/WebKit/Source/core/fetch/ScriptResource.h:61: RefPtrWillBeRawPtr<CompressableString> script(); not a ref ptr https://codereview.chromium.org/1389383003/diff/60001/third_party/WebKit/Source/core/fetch/ScriptResource.h#newcode88 third_party/WebKit/Source/core/fetch/ScriptResource.h:88: RefPtrWillBeMember<CompressableString> ...
5 years, 2 months ago (2015-10-24 03:59:26 UTC) #5
haraken
https://codereview.chromium.org/1389383003/diff/60001/third_party/WebKit/Source/wtf/text/CompressableString.cpp File third_party/WebKit/Source/wtf/text/CompressableString.cpp (right): https://codereview.chromium.org/1389383003/diff/60001/third_party/WebKit/Source/wtf/text/CompressableString.cpp#newcode9 third_party/WebKit/Source/wtf/text/CompressableString.cpp:9: #include "components/compression/compression_utils.h" On 2015/10/24 03:59:25, esprehn wrote: > you ...
5 years, 2 months ago (2015-10-24 17:26:38 UTC) #6
hajimehoshi
https://codereview.chromium.org/1389383003/diff/60001/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp File third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp (right): https://codereview.chromium.org/1389383003/diff/60001/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp#newcode17 third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp:17: : ScriptSourceCode(CompressableString::create(source), url, startPosition) On 2015/10/22 16:03:31, haraken wrote: ...
5 years, 1 month ago (2015-10-26 09:34:03 UTC) #7
hajimehoshi
https://codereview.chromium.org/1389383003/diff/60001/third_party/WebKit/Source/wtf/text/CompressableString.cpp File third_party/WebKit/Source/wtf/text/CompressableString.cpp (right): https://codereview.chromium.org/1389383003/diff/60001/third_party/WebKit/Source/wtf/text/CompressableString.cpp#newcode52 third_party/WebKit/Source/wtf/text/CompressableString.cpp:52: memcpy(data, out.c_str(), out.size()); On 2015/10/24 03:59:26, esprehn wrote: > ...
5 years, 1 month ago (2015-10-27 09:43:56 UTC) #8
hajimehoshi
On 2015/10/27 09:43:56, hajimehoshi wrote: > https://codereview.chromium.org/1389383003/diff/60001/third_party/WebKit/Source/wtf/text/CompressableString.cpp > File third_party/WebKit/Source/wtf/text/CompressableString.cpp (right): > > https://codereview.chromium.org/1389383003/diff/60001/third_party/WebKit/Source/wtf/text/CompressableString.cpp#newcode52 > ...
5 years, 1 month ago (2015-10-27 09:52:33 UTC) #9
hajimehoshi
https://codereview.chromium.org/1389383003/diff/60001/third_party/WebKit/Source/wtf/text/CompressableString.cpp File third_party/WebKit/Source/wtf/text/CompressableString.cpp (right): https://codereview.chromium.org/1389383003/diff/60001/third_party/WebKit/Source/wtf/text/CompressableString.cpp#newcode38 third_party/WebKit/Source/wtf/text/CompressableString.cpp:38: void CompressableString::compress() On 2015/10/22 16:03:31, haraken wrote: > > ...
5 years, 1 month ago (2015-10-27 11:35:10 UTC) #10
tyoshino (SeeGerritForStatus)
Description: Instroduce -> Introduce
5 years, 1 month ago (2015-10-29 08:35:52 UTC) #11
hajimehoshi
haraken: I think the implementation is almost finished, though there are some things to do. ...
5 years ago (2015-11-24 09:17:56 UTC) #13
haraken
With this implementation, I'm afraid that all CompressableStrings are leaking (See the following review comments). ...
5 years ago (2015-11-24 11:15:42 UTC) #14
hajimehoshi
Thank you! https://codereview.chromium.org/1389383003/diff/360001/third_party/WebKit/.dir-locals.el File third_party/WebKit/.dir-locals.el (right): https://codereview.chromium.org/1389383003/diff/360001/third_party/WebKit/.dir-locals.el#newcode1 third_party/WebKit/.dir-locals.el:1: ((nil . ((indent-tabs-mode . nil) On 2015/11/24 ...
5 years ago (2015-11-26 10:49:13 UTC) #15
hajimehoshi
https://codereview.chromium.org/1389383003/diff/380001/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp File third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp (right): https://codereview.chromium.org/1389383003/diff/380001/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp#newcode84 third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp:84: // Encoded by way of a m_source->isNull() being true, ...
5 years ago (2015-11-26 10:56:20 UTC) #17
haraken
I'm afraid that all CompressibleStrings are still leaking in this CL... See the comment in ...
5 years ago (2015-11-26 11:50:03 UTC) #18
hajimehoshi
Thank you! https://codereview.chromium.org/1389383003/diff/380001/third_party/WebKit/Source/bindings/core/v8/V8StringResource.h File third_party/WebKit/Source/bindings/core/v8/V8StringResource.h (right): https://codereview.chromium.org/1389383003/diff/380001/third_party/WebKit/Source/bindings/core/v8/V8StringResource.h#newcode254 third_party/WebKit/Source/bindings/core/v8/V8StringResource.h:254: CORE_EXPORT StringType v8StringToWebCoreString2(v8::Local<v8::String>, ExternalMode); On 2015/11/26 11:50:03, ...
5 years ago (2015-11-27 11:03:58 UTC) #19
hajimehoshi
5 years ago (2015-11-30 05:26:59 UTC) #20
https://codereview.chromium.org/1389383003/diff/380001/third_party/WebKit/Sou...
File third_party/WebKit/Source/wtf/WTFThreadData.h (right):

https://codereview.chromium.org/1389383003/diff/380001/third_party/WebKit/Sou...
third_party/WebKit/Source/wtf/WTFThreadData.h:50: typedef void
(*CompressibleStringTableDestructor)(blink::CompressibleStringTable*);
On 2015/11/27 11:03:58, hajimehoshi wrote:
> On 2015/11/26 11:50:03, haraken wrote:
> > 
> > Hmm, it's not nice to write 'blink::' in wtf. It's a layering violation.
Maybe
> > we need to move CompressibleString to wtf, but let's worry about the issue
> > later.
> 
> Sure, I'll move this to wtf soon again.

We found that CompressibleString depends on blink::SharedBuffer, which means we
can't move CompressibleString to wtf easily...

Powered by Google App Engine
This is Rietveld 408576698