Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[WK2] Make WebPageProxy's setUserAgent private
https://bugs.webkit.org/show_bug.cgi?id=127013 Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-14 Reviewed by Anders Carlsson. * UIProcess/WebPageProxy.h: The API to modify the user agent already has 3 "setters": -standardUserAgent -setApplicationNameForUserAgent -setCustomUserAgent The method WebPageProxy::setUserAgent() is supposed to be internal, not used directly. Using it directly would cause unexpected behaviors, for example: -Set the user agent with setUserAgent. -Set CustomUserAgent. -Reset CustomUserAgent. ->The user agent is now standardUserAgent instead of the user agent defined initially. Canonical link: https://commits.webkit.org/145008@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information