Show
Ignore:
Timestamp:
12/14/07 12:25:33 (12 months ago)
Author:
darin@apple.com
Message:

WebKit/mac:

Reviewed by Brady.

  • WebView/WebView.mm: (-setFrameLoadDelegate:): Call sharedIconDatabase if the a didReceiveIcon method is present.

WebKitTools:

  • DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method since it now triggers unwanted icon loading. We only had it because we implemented "all" delegate methods here.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/DumpRenderTree/mac/FrameLoadDelegate.mm

    r28030 r28718  
    296296} 
    297297 
    298 - (void)webView:(WebView *)sender didReceiveIcon:(NSImage *)image forFrame:(WebFrame *)frame 
    299 { 
    300     if (!done && layoutTestController->dumpFrameLoadCallbacks()) { 
    301         NSString *string = [NSString stringWithFormat:@"%@ - didReceiveIconForFrame", [frame _drt_descriptionSuitableForTestResult]]; 
    302         printf ("%s\n", [string UTF8String]); 
    303     } 
    304 } 
    305  
    306298- (void)webView:(WebView *)sender didChangeLocationWithinPageForFrame:(WebFrame *)frame 
    307299{