Changeset 182734 in webkit
- Timestamp:
- Apr 13, 2015, 8:40:42 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r182731 r182734 1 2015-04-13 Darin Adler <darin@apple.com> 2 3 Remove needless recreation of URL in NavigationScheduler::scheduleLocationChange 4 https://bugs.webkit.org/show_bug.cgi?id=143662 5 6 Reviewed by Sam Weinig. 7 8 * loader/NavigationScheduler.cpp: 9 (WebCore::NavigationScheduler::scheduleLocationChange): Removed unnecessary code 10 to convert a URL to a String and then back into a URL. 11 1 12 2015-04-13 Csaba Osztrogonác <ossy@webkit.org> 2 13 -
trunk/Source/WebCore/loader/NavigationScheduler.cpp
r182356 r182734 387 387 // If the URL we're going to navigate to is the same as the current one, except for the 388 388 // fragment part, we don't need to schedule the location change. 389 URL parsedURL(ParsedURLString, url); 390 if (parsedURL.hasFragmentIdentifier() && equalIgnoringFragmentIdentifier(m_frame.document()->url(), parsedURL)) { 389 if (url.hasFragmentIdentifier() && equalIgnoringFragmentIdentifier(m_frame.document()->url(), url)) { 391 390 loader.changeLocation(securityOrigin, m_frame.document()->completeURL(url), referrer, lockHistory, lockBackForwardList, false, AllowNavigationToInvalidURL::No); 392 391 return;
Note:
See TracChangeset
for help on using the changeset viewer.