Reviewed by Darin

	Fix for this bug:

	<rdar://problem/3368552>: Fix inappropriate use of NSURL creation methods in WebKit

	Change calls to URLWithString: or URLWithString:relativeToURL to
	_web_URLWithDataAsString: and _web_URLWithDataAsString:relativeToURL,
	respectively.

        * WebView.subproj/WebFramePrivate.m:
        (-[WebFrame _loadItem:withLoadType:]):
        (-[WebFrame _loadURL:intoChild:]):
        * WebView.subproj/WebPreferences.m:
        (-[WebPreferences userStyleSheetLocation]):
        * WebView.subproj/WebView.m:
        (-[WebView takeStringURLFrom:]):
        (-[WebView setMainFrameURL:]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4786 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4 files changed
tree: d0568c8beab3dbc65bd77912a2f0e48469be0a6f
  1. JavaScriptCore/
  2. LayoutTests/
  3. WebCore/
  4. WebKit/