commit | 5cfbddc9cc972f5133f26664dbf5810bb569cd04 | [log] [tgz] |
---|---|---|
author | japhet@chromium.org <japhet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Jun 23 23:52:23 2014 |
committer | japhet@chromium.org <japhet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Jun 23 23:52:23 2014 |
tree | 2285ee45f7bca820cf9890572fcd862899535a5a | |
parent | ede2c7e3862c2f16ebb5b04f3a2a3d50f9e56069 [diff] |
Simplify AreURLsInPageNavigation The first case guarantees we trust the renderer's definition of an in-page navigation if the urls before and after navigation are on the same origin. An in-page navigation is impossible cross-origin, so this single check is sufficient. BUG= Review URL: https://codereview.chromium.org/317703004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279232 0039d316-1c4b-4281-b951-d872f2087c98