Changeset 40669 in webkit


Ignore:
Timestamp:
Feb 5, 2009 6:34:28 AM (15 years ago)
Author:
Simon Hausmann
Message:

2009-02-05 Yael Aharon <yael.aharon@nokia.com>

Reviewed by Alexey Proskuryakov.
Landed by Simon Hausmann.

https://bugs.webkit.org/show_bug.cgi?id=23733

Use a 2 arguments constructor for KURL to avoid ASSERT failure.

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r40668 r40669  
     12009-02-05  Yael Aharon  <yael.aharon@nokia.com>
     2
     3        Reviewed by Alexey Proskuryakov.
     4        Landed by Simon Hausmann.
     5
     6        https://bugs.webkit.org/show_bug.cgi?id=23733
     7
     8        Use a 2 arguments constructor for KURL to avoid ASSERT failure.
     9
     10        * page/SecurityOrigin.cpp:
     11        (WebCore::SecurityOrigin::createFromDatabaseIdentifier):
     12
    1132009-02-04  Feng Qian  <feng@chromium.org>
    214
  • trunk/WebCore/page/SecurityOrigin.cpp

    r40501 r40669  
    270270    String protocol = databaseIdentifier.substring(0, separator1);
    271271    String host = databaseIdentifier.substring(separator1 + 1, separator2 - separator1 - 1);
    272     return create(KURL(protocol + "://" + host + ":" + String::number(port)));
     272    return create(KURL(KURL(), protocol + "://" + host + ":" + String::number(port)));
    273273}
    274274
Note: See TracChangeset for help on using the changeset viewer.