⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 242847 in webkit


Ignore:
Timestamp:
Mar 13, 2019, 12:48:12 AM (7 years ago)
Author:
Fujii Hironori
Message:

[Win][PlayStation] Remove WebCore::standardUserAgentForURL
https://bugs.webkit.org/show_bug.cgi?id=195662

Reviewed by Ryosuke Niwa.

Source/WebCore:

WebCore::standardUserAgentForURL is just a stub in Windows port.

No new tests because there is no behavior change.

  • platform/win/UserAgentWin.cpp:

(WebCore::standardUserAgentForURL): Deleted.

  • platform/playstation/UserAgentPlayStation.cpp:

(WebCore::standardUserAgentForURL): Deleted.

Source/WebKit:

  • WebProcess/WebPage/win/WebPageWin.cpp:

(WebKit::WebPage::platformUserAgent const): Return an empty string as well as mac/ios ports.

Location:
trunk/Source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r242842 r242847  
     12019-03-13  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [Win][PlayStation] Remove WebCore::standardUserAgentForURL
     4        https://bugs.webkit.org/show_bug.cgi?id=195662
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        WebCore::standardUserAgentForURL is just a stub in Windows port.
     9
     10        No new tests because there is no behavior change.
     11
     12        * platform/win/UserAgentWin.cpp:
     13        (WebCore::standardUserAgentForURL): Deleted.
     14        * platform/playstation/UserAgentPlayStation.cpp:
     15        (WebCore::standardUserAgentForURL): Deleted.
     16
    1172019-03-12  Ross Kirsling  <ross.kirsling@sony.com>
    218
  • trunk/Source/WebCore/platform/playstation/UserAgentPlayStation.cpp

    r238913 r242847  
    3434}
    3535
    36 String standardUserAgentForURL(const URL&)
    37 {
    38     // The null string means we don't need a specific UA for the given URL.
    39     return emptyString();
    40 }
    41 
    4236} // namespace WebCore
  • trunk/Source/WebCore/platform/win/UserAgentWin.cpp

    r230509 r242847  
    5050}
    5151
    52 String standardUserAgentForURL(const URL& url)
    53 {
    54     // The null string means we don't need a specific UA for the given URL.
    55     return { };
    56 }
    57 
    5852} // namespace WebCore
  • trunk/Source/WebKit/ChangeLog

    r242842 r242847  
     12019-03-13  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [Win][PlayStation] Remove WebCore::standardUserAgentForURL
     4        https://bugs.webkit.org/show_bug.cgi?id=195662
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        * WebProcess/WebPage/win/WebPageWin.cpp:
     9        (WebKit::WebPage::platformUserAgent const): Return an empty string as well as mac/ios ports.
     10
    1112019-03-12  Ross Kirsling  <ross.kirsling@sony.com>
    212
  • trunk/Source/WebKit/WebProcess/WebPage/win/WebPageWin.cpp

    r241721 r242847  
    114114}
    115115
    116 String WebPage::platformUserAgent(const URL& url) const
    117 {
    118     if (url.isNull() || !m_page->settings().needsSiteSpecificQuirks())
    119         return String();
    120 
    121     return WebCore::standardUserAgentForURL(url);
     116String WebPage::platformUserAgent(const URL&) const
     117{
     118    return { };
    122119}
    123120
Note: See TracChangeset for help on using the changeset viewer.