Chromium Code Reviews| Index: Source/web/WebViewImpl.cpp |
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
| index 90b794ad98a9b90f59d1e412771e5147fbacecaa..50420131df9ce8596f2ccacae7417f05548b8c26 100644 |
| --- a/Source/web/WebViewImpl.cpp |
| +++ b/Source/web/WebViewImpl.cpp |
| @@ -2468,7 +2468,7 @@ void WebViewImpl::setPageEncoding(const WebString& encodingName) |
| // Only change override encoding, don't change default encoding. |
| // Note that the new encoding must be 0 if it isn't supposed to be set. |
| - String newEncodingName; |
| + AtomicString newEncodingName; |
| if (!encodingName.isEmpty()) |
| newEncodingName = encodingName; |
| m_page->mainFrame()->loader().reload(NormalReload, KURL(), newEncodingName); |
|
Inactive
2013/12/31 20:57:18
reload() takes the encoding as an AtomicString in
|