Chromium Code Reviews| Index: third_party/WebKit/Source/platform/text/TextEncodingDetector.h |
| diff --git a/third_party/WebKit/Source/platform/text/TextEncodingDetector.h b/third_party/WebKit/Source/platform/text/TextEncodingDetector.h |
| index 0ba0645d4f8e72b6d5ce255bf91140b1964cbf4c..0ce16e9fabd0fcf86fdfc68ab02ea2c3ce14f077 100644 |
| --- a/third_party/WebKit/Source/platform/text/TextEncodingDetector.h |
| +++ b/third_party/WebKit/Source/platform/text/TextEncodingDetector.h |
| @@ -39,6 +39,7 @@ class TextEncoding; |
| } |
| namespace blink { |
| +class KURL; |
| // Given a sequence of bytes in |data| of length |len| and an optional |
| // hintEncodingName, detect the most likely character encoding. |
| @@ -50,7 +51,7 @@ namespace blink { |
| PLATFORM_EXPORT bool detectTextEncoding(const char* data, |
| size_t length, |
| const char* hintEncodingName, |
| - const char* hintUrl, |
| + const KURL* hintUrl, |
|
tkent
2017/03/30 23:23:59
Make the argument |const KURL&|.
KURL has a null s
Jinsuk Kim
2017/03/31 00:39:08
Done.
|
| const char* hintUserLanguage, |
| WTF::TextEncoding* detectedEncoding); |