Copy BackForwardList from WebCore to WebKit/win
Created attachment 291399 [details] Patch
Created attachment 291404 [details] Patch
Attachment 291404 [details] did not pass style-queue: ERROR: Source/WebKit/win/BackForwardList.cpp:27: Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:28: Found header this file implements after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:92: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:100: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:105: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:108: Omit int when using unsigned [runtime/unsigned] [1] ERROR: Source/WebKit/win/BackForwardList.cpp:109: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:114: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:152: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:181: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:216: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 11 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 291411 [details] Patch
Attachment 291411 [details] did not pass style-queue: ERROR: Source/WebKit/win/BackForwardList.cpp:27: Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:28: Found header this file implements after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:92: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:100: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:105: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:108: Omit int when using unsigned [runtime/unsigned] [1] ERROR: Source/WebKit/win/BackForwardList.cpp:109: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:114: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:152: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:181: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:216: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 11 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 291425 [details] Patch
Attachment 291425 [details] did not pass style-queue: ERROR: Source/WebKit/win/BackForwardList.cpp:27: Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:28: Found header this file implements after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:92: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:100: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:105: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:108: Omit int when using unsigned [runtime/unsigned] [1] ERROR: Source/WebKit/win/BackForwardList.cpp:109: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:114: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:152: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:181: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:216: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 11 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Copying something we want to get rid of seems like a bad idea.
Created attachment 291505 [details] Patch
Attachment 291505 [details] did not pass style-queue: ERROR: Source/WebKit/win/BackForwardList.cpp:27: Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:28: Found header this file implements after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:92: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:100: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:105: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:108: Omit int when using unsigned [runtime/unsigned] [1] ERROR: Source/WebKit/win/BackForwardList.cpp:109: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:114: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:152: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:181: One line control clauses should not use braces. [whitespace/braces] [4] ERROR: Source/WebKit/win/BackForwardList.cpp:216: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 11 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
(In reply to comment #8) > Copying something we want to get rid of seems like a bad idea. The Mac and Windows implementations of these classes are going to diverge in the near future, and a lot of code is going to be removed from both.
Comment on attachment 291505 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=291505&action=review > Source/WebKit/win/BackForwardList.cpp:227 > +#if PLATFORM(IOS) This isn't needed any more
Committed r207308: <http://trac.webkit.org/changeset/207308>