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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLDocumentParserTest.cpp

Issue 2318283002: DCHECK that the document url is valid in HTMLPreloadScanner (Closed)
Patch Set: fix unit test Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/parser/HTMLDocumentParserTest.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParserTest.cpp b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParserTest.cpp
index d91b9c8a6844e67d3c8ce4245f0cfc7062c57be7..bd0cdcb1af674173eaf5085528bc2849b0a2d6a8 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParserTest.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParserTest.cpp
@@ -38,6 +38,7 @@ protected:
HTMLDocumentParserTest()
: m_dummyPageHolder(DummyPageHolder::create())
{
+ m_dummyPageHolder->document().setURL(KURL(KURL(), "https://example.test"));
}
HTMLDocumentParser* createParser(HTMLDocument& document)
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698