Changeset 30268 in webkit


Ignore:
Timestamp:
Feb 15, 2008, 7:18:53 AM (17 years ago)
Author:
Darin Adler
Message:

Reviewed by Adam.

  • quick fix for a problem causing an assertion on launch
  • WebFrame.cpp: (WebFrame::loadData): Make an empty KURL even if the BSTR is null. Later we might want to rethink this.
Location:
trunk/WebKit/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/win/ChangeLog

    r30243 r30268  
     12008-02-15  Darin Adler  <darin@apple.com>
     2
     3        Reviewed by Adam.
     4
     5        - quick fix for a problem causing an assertion on launch
     6
     7        * WebFrame.cpp:
     8        (WebFrame::loadData): Make an empty KURL even if the BSTR is null.
     9        Later we might want to rethink this.
     10
    1112008-02-14  Darin Adler  <darin@apple.com>
    212
  • trunk/WebKit/win/WebFrame.cpp

    r30243 r30268  
    631631
    632632    String encodingString(textEncodingName, SysStringLen(textEncodingName));
    633     KURL baseKURL(String(baseURL, SysStringLen(baseURL)));
     633    KURL baseKURL(String(baseURL ? baseURL : L"", SysStringLen(baseURL)));
    634634    KURL failingKURL(String(failingURL, SysStringLen(failingURL)));
    635635
Note: See TracChangeset for help on using the changeset viewer.