Title: [121899] trunk/Source/WebKit2
- Revision
- 121899
- Author
- kbal...@webkit.org
- Date
- 2012-07-05 04:21:47 -0700 (Thu, 05 Jul 2012)
Log 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.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (121898 => 121899)
--- trunk/Source/WebKit2/ChangeLog 2012-07-05 10:54:01 UTC (rev 121898)
+++ trunk/Source/WebKit2/ChangeLog 2012-07-05 11:21:47 UTC (rev 121899)
@@ -1,3 +1,16 @@
+2012-07-05 Balazs Kelemen <kbal...@webkit.org>
+
+ [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.
+
2012-07-05 Dongwoo Im <dw...@samsung.com>
[EFL] Enable the CUSTOM_SCHEME_HANDLER feature as default.
Modified: trunk/Source/WebKit2/Shared/API/c/WKSharedAPICast.h (121898 => 121899)
--- trunk/Source/WebKit2/Shared/API/c/WKSharedAPICast.h 2012-07-05 10:54:01 UTC (rev 121898)
+++ trunk/Source/WebKit2/Shared/API/c/WKSharedAPICast.h 2012-07-05 11:21:47 UTC (rev 121899)
@@ -159,8 +159,6 @@
inline WKURLRef toCopiedURLAPI(const String& string)
{
- if (!string)
- return 0;
RefPtr<WebURL> webURL = WebURL::create(string);
return toAPI(webURL.release().leakRef());
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes