As done in patch 47664 for WebCore, do the same in WebKit.
Created attachment 70839 [details] Patch
Attachment 70839 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKit/chromium/src/BackForwardListClientImpl.cpp:106: url_string is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Total errors found: 1 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
(In reply to comment #2) > Attachment 70839 [details] did not pass style-queue: > > Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 > WebKit/chromium/src/BackForwardListClientImpl.cpp:106: url_string is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] > Total errors found: 1 in 14 files I'm not planing to rename existing variables in chromium code, I think it's safe to ignore this error.
Created attachment 70842 [details] Patch v2 Fix a typo s/char/UChar/ in the new StringTypeAdapter. Also changed my mind, renamed url_string to urlString, to have a green style bot result.
Attachment 70839 [details] did not build on chromium: Build output: http://queues.webkit.org/results/4462042
Created attachment 70845 [details] Patch v3 Add explicit cast from WebString -> String, attempting to fix the chromium build.
Attachment 70845 [details] did not build on chromium: Build output: http://queues.webkit.org/results/4455056
Created attachment 70850 [details] Patch v4 Arrgl, missed another WebString -> String conversion in WebPageSerializer. Fix and optimize it even further.
Created attachment 70854 [details] Patch v5 *sigh* Forgot to include JavaScriptCore changes. Added StringTypeAdapter<UChar> to avoid having to convert UChars, we can directly append them.
Comment on attachment 70854 [details] Patch v5 View in context: https://bugs.webkit.org/attachment.cgi?id=70854&action=review LGTM. r=me > WebKit/chromium/src/BackForwardListClientImpl.cpp:107 > + m_pendingHistoryItem = HistoryItem::create(urlString, String(), 0.0); Please use 0
Committed r69850: <http://trac.webkit.org/changeset/69850>