Changeset 121899 in webkit


Ignore:
Timestamp:
Jul 5, 2012 4:21:47 AM (12 years ago)
Author:
kbalazs@webkit.org
Message:

[Qt] WTR crashes if a URL is passed as a parameter
https://bugs.webkit.org/show_bug.cgi?id=88093

Reviewed by Zoltan Herczeg.

  • Shared/API/c/WKSharedAPICast.h:

(WebKit::toCopiedURLAPI):
Don't special case null string. It's handled
fine by WebURL and passing 0 is not suitable
to the API.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r121897 r121899  
     12012-07-05  Balazs Kelemen  <kbalazs@webkit.org>
     2
     3        [Qt] WTR crashes if a URL is passed as a parameter
     4        https://bugs.webkit.org/show_bug.cgi?id=88093
     5
     6        Reviewed by Zoltan Herczeg.
     7
     8        * Shared/API/c/WKSharedAPICast.h:
     9        (WebKit::toCopiedURLAPI):
     10        Don't special case null string. It's handled
     11        fine by WebURL and passing 0 is not suitable
     12        to the API.
     13
    1142012-07-05  Dongwoo Im  <dw.im@samsung.com>
    215
  • trunk/Source/WebKit2/Shared/API/c/WKSharedAPICast.h

    r120357 r121899  
    160160inline WKURLRef toCopiedURLAPI(const String& string)
    161161{
    162     if (!string)
    163         return 0;
    164162    RefPtr<WebURL> webURL = WebURL::create(string);
    165163    return toAPI(webURL.release().leakRef());
Note: See TracChangeset for help on using the changeset viewer.