2009-04-13 Brady Eidson <beidson@apple.com>
Reviewed by Tim Hatcher Tweak my last check-in, moving the thread violation check up to the API-level calls so the logging is more useful to developers/users. * WebView/WebFrame.mm: (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]): If not on the main thread, only perform the "call on main thead" workaround, as the log/exception raising is now up at the API level. (-[WebFrame loadData:MIMEType:textEncodingName:baseURL:]): Perform a thread violation check here so logging is more meaningful. (-[WebFrame loadHTMLString:baseURL:]): Ditto. (-[WebFrame loadAlternateHTMLString:baseURL:forUnreachableURL:]): Ditto. git-svn-id: svn://svn.chromium.org/blink/trunk@42451 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment