Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h |
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h b/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h |
| index 329795c691bc849b82ddb93bd3a6d6c097ca809a..471b1b95d6f851da42d5487da8ad88d0125b7134 100644 |
| --- a/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h |
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h |
| @@ -70,6 +70,10 @@ public: |
| bool viewportMetaEnabled; |
| ReferrerPolicy referrerPolicy; |
| +protected: |
| + // For testing. |
| + CachedDocumentParameters() {} |
|
kouhei (in TOK)
2016/08/22 05:48:28
public:
static std::unique_ptr<CachedDocumentParam
Charlie Harrison
2016/08/23 01:32:28
I'm inclined to keep a protected constructor here
kouhei (in TOK)
2016/08/23 02:29:41
I'm fine either way. Not a blocker.
However we see
|
| + |
| private: |
| explicit CachedDocumentParameters(Document*); |
| }; |