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

Issue 2786913002: Replace the type of hint url for blink::detectTextEncoding (Closed)

Created:
3 years, 8 months ago by Jinsuk Kim
Modified:
3 years, 8 months ago
Reviewers:
tkent
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, kinuko+watch, loading-reviews+parser_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace the type of hint url for blink::detectTextEncoding This helps the method avoid creating a new instance of KURL every time it is invoked. BUG=704800 Review-Url: https://codereview.chromium.org/2786913002 Cr-Commit-Position: refs/heads/master@{#461355} Committed: https://chromium.googlesource.com/chromium/src/+/c93c2e8927446064827541e3b029d7312686dfd1

Patch Set 1 #

Patch Set 2 : fix build #

Total comments: 2

Patch Set 3 : const KURL& #

Total comments: 4

Patch Set 4 : const KURL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -27 lines) Patch
M third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h View 1 2 3 5 chunks +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/TextResourceDecoder.cpp View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/TextResourceDecoderForFuzzing.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/text/TextEncodingDetector.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/text/TextEncodingDetector.cpp View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/text/TextEncodingDetectorTest.cpp View 1 2 8 chunks +12 lines, -9 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
Jinsuk Kim
3 years, 8 months ago (2017-03-30 22:26:49 UTC) #10
tkent
https://codereview.chromium.org/2786913002/diff/20001/third_party/WebKit/Source/platform/text/TextEncodingDetector.h File third_party/WebKit/Source/platform/text/TextEncodingDetector.h (right): https://codereview.chromium.org/2786913002/diff/20001/third_party/WebKit/Source/platform/text/TextEncodingDetector.h#newcode54 third_party/WebKit/Source/platform/text/TextEncodingDetector.h:54: const KURL* hintUrl, Make the argument |const KURL&|. KURL ...
3 years, 8 months ago (2017-03-30 23:23:59 UTC) #11
Jinsuk Kim
https://codereview.chromium.org/2786913002/diff/20001/third_party/WebKit/Source/platform/text/TextEncodingDetector.h File third_party/WebKit/Source/platform/text/TextEncodingDetector.h (right): https://codereview.chromium.org/2786913002/diff/20001/third_party/WebKit/Source/platform/text/TextEncodingDetector.h#newcode54 third_party/WebKit/Source/platform/text/TextEncodingDetector.h:54: const KURL* hintUrl, On 2017/03/30 23:23:59, tkent wrote: > ...
3 years, 8 months ago (2017-03-31 00:39:08 UTC) #12
tkent
lgtm https://codereview.chromium.org/2786913002/diff/40001/third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h File third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h (right): https://codereview.chromium.org/2786913002/diff/40001/third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h#newcode141 third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h:141: const KURL& m_hintUrl; This should be |const KURL|, ...
3 years, 8 months ago (2017-03-31 00:47:30 UTC) #13
Jinsuk Kim
https://codereview.chromium.org/2786913002/diff/40001/third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h File third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h (right): https://codereview.chromium.org/2786913002/diff/40001/third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h#newcode141 third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h:141: const KURL& m_hintUrl; On 2017/03/31 00:47:30, tkent wrote: > ...
3 years, 8 months ago (2017-03-31 01:33:30 UTC) #14
tkent
https://codereview.chromium.org/2786913002/diff/40001/third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h File third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h (right): https://codereview.chromium.org/2786913002/diff/40001/third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h#newcode141 third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h:141: const KURL& m_hintUrl; I think this CL is still ...
3 years, 8 months ago (2017-03-31 08:12:24 UTC) #15
Jinsuk Kim
https://codereview.chromium.org/2786913002/diff/40001/third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h File third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h (right): https://codereview.chromium.org/2786913002/diff/40001/third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h#newcode141 third_party/WebKit/Source/core/html/parser/TextResourceDecoder.h:141: const KURL& m_hintUrl; On 2017/03/31 08:12:24, tkent wrote: > ...
3 years, 8 months ago (2017-04-02 22:46:10 UTC) #18
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/2786913002/60001
3 years, 8 months ago (2017-04-03 01:02:54 UTC) #23
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 01:08:39 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/c93c2e8927446064827541e3b029...

Powered by Google App Engine
This is Rietveld 408576698