Bug 163360

Summary: Copy BackForwardList from WebCore to WebKit/win
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, commit-queue
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch achristensen: review+

Description Anders Carlsson 2016-10-12 14:55:07 PDT
Copy BackForwardList from WebCore to WebKit/win
Comment 1 Anders Carlsson 2016-10-12 14:57:20 PDT
Created attachment 291399 [details]
Patch
Comment 2 Anders Carlsson 2016-10-12 15:07:53 PDT
Created attachment 291404 [details]
Patch
Comment 3 WebKit Commit Bot 2016-10-12 15:10:42 PDT
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.
Comment 4 Anders Carlsson 2016-10-12 15:55:15 PDT
Created attachment 291411 [details]
Patch
Comment 5 WebKit Commit Bot 2016-10-12 15:56:43 PDT
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.
Comment 6 Anders Carlsson 2016-10-12 16:58:26 PDT
Created attachment 291425 [details]
Patch
Comment 7 WebKit Commit Bot 2016-10-12 17:00:54 PDT
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.
Comment 8 Alex Christensen 2016-10-13 08:29:04 PDT
Copying something we want to get rid of seems like a bad idea.
Comment 9 Anders Carlsson 2016-10-13 12:28:09 PDT
Created attachment 291505 [details]
Patch
Comment 10 WebKit Commit Bot 2016-10-13 12:31:23 PDT
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.
Comment 11 Anders Carlsson 2016-10-13 12:48:32 PDT
(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 12 Alex Christensen 2016-10-13 12:56:15 PDT
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
Comment 13 Anders Carlsson 2016-10-13 14:38:45 PDT
Committed r207308: <http://trac.webkit.org/changeset/207308>