Bug 130365

Summary: Move convertToRange() helper to cross-platform WebPage.cpp
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebKit2Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, commit-queue, enrica
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch thorton: review+

Alexey Proskuryakov
Reported 2014-03-17 15:14:57 PDT
convertToRange() is duplicated in Mac and iOS code, and it's really cross-platform.
Attachments
proposed patch (8.98 KB, patch)
2014-03-17 15:16 PDT, Alexey Proskuryakov
thorton: review+
Alexey Proskuryakov
Comment 1 2014-03-17 15:16:33 PDT
Created attachment 226970 [details] proposed patch
WebKit Commit Bot
Comment 2 2014-03-17 15:18:18 PDT
Attachment 226970 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:4344: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alexey Proskuryakov
Comment 3 2014-03-17 15:29:01 PDT
Note You need to log in before you can comment on or make changes to this bug.