Bug 163360 - Copy BackForwardList from WebCore to WebKit/win
Summary: Copy BackForwardList from WebCore to WebKit/win
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-12 14:55 PDT by Anders Carlsson
Modified: 2016-10-13 14:38 PDT (History)
2 users (show)

See Also:


Attachments
Patch (4.75 KB, patch)
2016-10-12 14:57 PDT, Anders Carlsson
no flags Details | Formatted Diff | Diff
Patch (16.14 KB, patch)
2016-10-12 15:07 PDT, Anders Carlsson
no flags Details | Formatted Diff | Diff
Patch (16.71 KB, patch)
2016-10-12 15:55 PDT, Anders Carlsson
no flags Details | Formatted Diff | Diff
Patch (16.72 KB, patch)
2016-10-12 16:58 PDT, Anders Carlsson
no flags Details | Formatted Diff | Diff
Patch (16.73 KB, patch)
2016-10-13 12:28 PDT, Anders Carlsson
achristensen: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>