WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 140601
Merge API::ProcessPoolConfiguration and _WKProcessPoolConfiguration
https://bugs.webkit.org/show_bug.cgi?id=140601
Summary
Merge API::ProcessPoolConfiguration and _WKProcessPoolConfiguration
Sam Weinig
Reported
2015-01-18 16:55:28 PST
Merge API::ProcessPoolConfiguration and _WKProcessPoolConfiguration
Attachments
Patch
(59.15 KB, patch)
2015-01-18 18:33 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(58.71 KB, patch)
2015-01-18 18:39 PST
,
Sam Weinig
andersca
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2015-01-18 18:33:07 PST
Created
attachment 244871
[details]
Patch
Sam Weinig
Comment 2
2015-01-18 18:39:10 PST
Created
attachment 244872
[details]
Patch
Anders Carlsson
Comment 3
2015-01-19 16:57:01 PST
Comment on
attachment 244872
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=244872&action=review
> Source/WebKit2/UIProcess/WebInspectorProxy.cpp:376 > static WebProcessPool* processPool; > if (!processPool) { > - WebProcessPoolConfiguration configuration; > - WebProcessPool::applyPlatformSpecificConfigurationDefaults(configuration); > - > - processPool = (WebProcessPool::create(WTF::move(configuration))).leakRef(); > - processPool->setProcessModel(ProcessModelMultipleSecondaryProcesses); > + auto configuration = API::ProcessPoolConfiguration::createWithLegacyOptions(); > + configuration->setProcessModel(ProcessModelMultipleSecondaryProcesses); > + > + processPool = &(WebProcessPool::create(configuration.get())).leakRef(); > }
I think you should initialize this with a lambda: static WebProcessPool& processPool = []{ ... return WebProcessPool::create(configuration.get())).leakRef(); }();
Sam Weinig
Comment 4
2015-01-19 17:35:47 PST
Committed
r178685
: <
http://trac.webkit.org/changeset/178685
>
Csaba Osztrogonác
Comment 5
2015-01-19 23:55:03 PST
(In reply to
comment #4
)
> Committed
r178685
: <
http://trac.webkit.org/changeset/178685
>
It broke the Apple Mountain Lion and EFL bots: EFL bot - before:
https://build.webkit.org/builders/EFL%20Linux%2064-bit%20Release%20WK2/builds/19081
EFL bot - after:
https://build.webkit.org/builders/EFL%20Linux%2064-bit%20Release%20WK2/builds/19082
Apple Mountain Lion bot - before:
https://build.webkit.org/builders/Apple%20MountainLion%20Release%20WK2%20%28Tests%29/builds/23657
Apple Mountain Lion bot - after:
https://build.webkit.org/builders/Apple%20MountainLion%20Release%20WK2%20%28Tests%29/builds/23658
Could you possibly fix this regression?
Sam Weinig
Comment 6
2015-01-20 09:51:32 PST
Attempt to fix tests in
r178720
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug