| Summary: | Change DeferrableOneShotTimer to use std::function instead of being a class template | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||||||||||
| Component: | New Bugs | Assignee: | Anders Carlsson <andersca> | ||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||
| Severity: | Normal | CC: | bunhere, cdumez, commit-queue, esprehn+autocc, glenn, gyuyoung.kim, japhet, macpherson, menard, ossy, sergio | ||||||||||||
| Priority: | P2 | ||||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Anders Carlsson
2014-05-31 11:46:38 PDT
Created attachment 232318 [details]
Patch
Attachment 232318 [details] did not pass style-queue:
ERROR: Source/WebCore/platform/Timer.h:158: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WebCore/platform/Timer.h:198: Extra space before ( in function call [whitespace/parens] [4]
Total errors found: 2 in 21 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 232319 [details]
Patch
Attachment 232319 [details] did not pass style-queue:
ERROR: Source/WebCore/platform/Timer.h:158: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WebCore/platform/Timer.h:198: Extra space before ( in function call [whitespace/parens] [4]
Total errors found: 2 in 24 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 232319 [details]
Patch
WebKit2/NetworkProcess/soup/NetworkProcessSoup.cpp: In member function 'void WebKit::NetworkProcess::platformSetCacheModel(WebKit::CacheModel)':
WebKit2/NetworkProcess/soup/NetworkProcessSoup.cpp:119:72: error: invalid initialization of reference of type 'std::chrono::seconds& {aka std::chrono::duration<long int>&}' from expression of type 'double'
Created attachment 232357 [details]
Patch
Attachment 232357 [details] did not pass style-queue:
ERROR: Source/WebCore/platform/Timer.h:158: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WebCore/platform/Timer.h:198: Extra space before ( in function call [whitespace/parens] [4]
Total errors found: 2 in 25 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 232358 [details]
Patch
Attachment 232358 [details] did not pass style-queue:
ERROR: Source/WebCore/platform/Timer.h:158: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WebCore/platform/Timer.h:198: Extra space before ( in function call [whitespace/parens] [4]
Total errors found: 2 in 25 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 232358 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=232358&action=review > Source/WebKit2/Shared/CacheModel.h:40 > - unsigned& cacheTotalCapacity, unsigned& cacheMinDeadCapacity, unsigned& cacheMaxDeadCapacity, double& deadDecodedDataDeletionInterval, > + unsigned& cacheTotalCapacity, unsigned& cacheMinDeadCapacity, unsigned& cacheMaxDeadCapacity, std::chrono::seconds& deadDecodedDataDeletionInterval, Please include <chrono> in this header not to break the EFL build. build log from EFL EWS: In file included from /mnt/eflews/git/webkit/Source/WebKit2/UIProcess/API/C/WKAPICast.h:30:0, from /mnt/eflews/git/webkit/WebKitBuild/Release/DerivedSources/WebKit2/include/WebKit/WKAPICast.h:1, from /mnt/eflews/git/webkit/Tools/WebKitTestRunner/efl/PlatformWebViewEfl.cpp:26: /mnt/eflews/git/webkit/Source/WebKit2/Shared/CacheModel.h:40:104: error: 'std::chrono' has not been declared unsigned& cacheTotalCapacity, unsigned& cacheMinDeadCapacity, unsigned& cacheMaxDeadCapacity, std::chrono::seconds& deadDecodedDataDeletionInterval, ^ /mnt/eflews/git/webkit/Source/WebKit2/Shared/CacheModel.h:40:119: error: expected ',' or '...' before '&' token unsigned& cacheTotalCapacity, unsigned& cacheMinDeadCapacity, unsigned& cacheMaxDeadCapacity, std::chrono::seconds& deadDecodedDataDeletionInterval, Created attachment 232381 [details]
Patch
Attachment 232381 [details] did not pass style-queue:
ERROR: Source/WebCore/platform/Timer.h:158: Extra space before ( in function call [whitespace/parens] [4]
ERROR: Source/WebCore/platform/Timer.h:198: Extra space before ( in function call [whitespace/parens] [4]
Total errors found: 2 in 25 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Committed r169550: <http://trac.webkit.org/changeset/169550> |