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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h

Issue 2261873002: Add fuzzer for HTMLPreloadScanner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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*);
};

Powered by Google App Engine
This is Rietveld 408576698