Chromium Code Reviews| Index: third_party/WebKit/Source/platform/weborigin/KURL.h |
| diff --git a/third_party/WebKit/Source/platform/weborigin/KURL.h b/third_party/WebKit/Source/platform/weborigin/KURL.h |
| index b9d423291ad1a7238ce23ba51bade9d964c2101b..a263b6b59227ea44d114968795127252448c321e 100644 |
| --- a/third_party/WebKit/Source/platform/weborigin/KURL.h |
| +++ b/third_party/WebKit/Source/platform/weborigin/KURL.h |
| @@ -208,10 +208,15 @@ class PLATFORM_EXPORT KURL { |
| int relativeLength, |
| const WTF::TextEncoding* queryEncoding); |
| void initInnerURL(); |
| - void initProtocolIsInHTTPFamily(); |
| + void initProtocolMetadata(); |
| bool m_isValid; |
| bool m_protocolIsInHTTPFamily; |
| + |
| + // Keep an AtomicString for the protocol, to avoid copious copies for |
| + // KURL::protocol. |
| + String m_protocol; |
|
esprehn
2016/11/04 23:48:32
This isn't atomic
|
| + |
| url::Parsed m_parsed; |
| String m_string; |
| std::unique_ptr<KURL> m_innerURL; |