| Index: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
| index 0da00121826741a4ec3cc7479b9128cbd18437fe..3250066ef3ce13fe2795ee1d2cdae5cc62b159a2 100644
|
| --- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
| @@ -748,7 +748,9 @@ String FrameLoaderClientImpl::userAgent()
|
| if (!override.isEmpty())
|
| return override;
|
|
|
| - return Platform::current()->userAgent();
|
| + if (m_userAgent.isEmpty())
|
| + m_userAgent = Platform::current()->userAgent();
|
| + return m_userAgent;
|
| }
|
|
|
| String FrameLoaderClientImpl::doNotTrackValue()
|
|
|