Changeset 44420 in webkit
- Timestamp:
- Jun 4, 2009 11:34:23 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r44416 r44420 1 2009-06-04 Jeremy Orlow <jorlow@chromium.org> 2 3 Reviewed by Darin Adler. 4 5 https://bugs.webkit.org/show_bug.cgi?id=26180 6 Add a fast path for SecurityOrigin::equal. If "other == this" (where 7 other is the other security origin), then we really don't need to do 8 all the other (expensive) comparisons. We know it's equal. 9 10 * page/SecurityOrigin.cpp: 11 (WebCore::SecurityOrigin::equal): 12 1 13 2009-06-03 David Hyatt <hyatt@apple.com> 2 14 -
trunk/WebCore/page/SecurityOrigin.cpp
r41555 r44420 278 278 bool SecurityOrigin::equal(const SecurityOrigin* other) const 279 279 { 280 if (other == this) 281 return true; 282 280 283 if (!isSameSchemeHostPort(other)) 281 284 return false;
Note: See TracChangeset
for help on using the changeset viewer.