DescriptionUse Document::validBaseElementURL to init preloadscanner
Before this CL, Document::baseElementURL was used to initialize
PreloadScanner. However, this URL can be !isValid().
This CL introduces Document::validBaseElementURL() which returns
baseElementURL only when its valid, end returns empty URL when its invalid.
This can safely be used to initialize preload scanner.
BUG=623365
Committed: https://crrev.com/51b5da563d004465a203dd40892a13b8543721e1
Cr-Commit-Position: refs/heads/master@{#404595}
Patch Set 1 #
Messages
Total messages: 15 (7 generated)
|