| commit | 51b5da563d004465a203dd40892a13b8543721e1 | [log] [tgz] |
|---|---|---|
| author | kouhei <kouhei@chromium.org> | Mon Jul 11 03:42:56 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Mon Jul 11 03:45:09 2016 |
| tree | f785743fe4fcf7e2d04f6a33b3f64b77f9a58ec7 | |
| parent | 82ddef2733b94fd7900838244562169ad0c6d9c8 [diff] |
Use 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 Review-Url: https://codereview.chromium.org/2132283002 Cr-Commit-Position: refs/heads/master@{#404595}