Bug 123454

Summary: SessionState.h should not include WebBackForwardList.h
Product: WebKit Reporter: Gavin Barraclough <barraclough>
Component: WebKit2Assignee: Gavin Barraclough <barraclough>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fix ggaren: review+

Gavin Barraclough
Reported 2013-10-29 11:35:40 PDT
WebBackForwardList is a UIProcess type, SessionState is in shared code. Also, WebBackForwardListItemVector should be in WebBackForwardListItem.h, not WebBackForwardList.h (the vector type is used in the WebProcess, the item header is shared but the list type is in the UIProcess).
Attachments
Fix (5.20 KB, patch)
2013-10-29 11:38 PDT, Gavin Barraclough
ggaren: review+
Gavin Barraclough
Comment 1 2013-10-29 11:38:48 PDT
Geoffrey Garen
Comment 2 2013-10-29 11:39:30 PDT
Comment on attachment 215406 [details] Fix r=me
WebKit Commit Bot
Comment 3 2013-10-29 11:40:57 PDT
Attachment 215406 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit2/Shared/SessionState.cpp', u'Source/WebKit2/Shared/SessionState.h', u'Source/WebKit2/Shared/WebBackForwardListItem.h', u'Source/WebKit2/Shared/WebPageCreationParameters.h', u'Source/WebKit2/UIProcess/WebBackForwardList.h', u'Source/WebKit2/WebProcess/WebPage/DrawingArea.cpp', u'Source/WebKit2/WebProcess/WebPage/WebPage.cpp']" exit_code: 1 Source/WebKit2/WebProcess/WebPage/WebPage.cpp:88: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Gavin Barraclough
Comment 4 2013-10-29 12:41:48 PDT
Fixed in r158210
Note You need to log in before you can comment on or make changes to this bug.