Commit c3973348 authored by sullivan's avatar sullivan

Reviewed by Adam

        - fixed <rdar://problem/5103009> REGRESSION: Activity window shows blank name for untitled pages

        * WebView/WebHTMLRepresentation.mm:
        (-[WebHTMLRepresentation title]):
        return nil for empty string, to match old behavior



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20934 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 272aab37
2007-04-18 John Sullivan <sullivan@apple.com>
Reviewed by Adam
- fixed <rdar://problem/5103009> REGRESSION: Activity window shows blank name for untitled pages
* WebView/WebHTMLRepresentation.mm:
(-[WebHTMLRepresentation title]):
return nil for empty string, to match old behavior
2007-04-17 John Sullivan <sullivan@apple.com>
Reviewed by Tim Hatcher
......
......@@ -259,7 +259,7 @@ static NSArray *concatenateArrays(NSArray *first, NSArray *second)
- (NSString *)title
{
return [_private->dataSource _documentLoader]->title();
return nsStringNilIfEmpty([_private->dataSource _documentLoader]->title());
}
- (DOMDocument *)DOMDocument
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment