WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
187404
Check that LayerTreeHost was created before use
https://bugs.webkit.org/show_bug.cgi?id=187404
Summary
Check that LayerTreeHost was created before use
Stephan Szabo
Reported
2018-07-06 13:01:48 PDT
Check that LayerTreeHost was created before use
Attachments
Patch
(1.41 KB, patch)
2018-07-06 13:03 PDT
,
Stephan Szabo
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Stephan Szabo
Comment 1
2018-07-06 13:03:39 PDT
Created
attachment 344443
[details]
Patch
Stephan Szabo
Comment 2
2018-07-06 13:05:21 PDT
I'm not sure if this is the best way to handle this, but while working on web inspector for wincairo non-legacy, we hit crashes just after this point because LayerTreeHost::create returns nullptr if not USE(COORDINATED_GRAPHICS_THREADED) but this code acts as if it will always get one.
Fujii Hironori
Comment 3
2018-07-08 22:00:28 PDT
I think Windows WK2 MiniBrowser should disable AC by using WKPreferencesSetAcceleratedDrawingEnabled until AC is supported.
Fujii Hironori
Comment 4
2018-07-08 22:12:10 PDT
Ah. Your primary aim is the web inspector. IIRC, the web inspector is using AC to paint element highlights.
Fujii Hironori
Comment 5
2018-07-09 01:59:53 PDT
Stephan, what will happen in AC mode pages after applying your change? All becomes blank pages instead of having crash?
WebKit Commit Bot
Comment 6
2018-07-09 11:21:08 PDT
Comment on
attachment 344443
[details]
Patch Clearing flags on attachment: 344443 Committed
r233647
: <
https://trac.webkit.org/changeset/233647
>
WebKit Commit Bot
Comment 7
2018-07-09 11:21:10 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8
2018-07-09 11:27:22 PDT
<
rdar://problem/41981386
>
Fujii Hironori
Comment 9
2018-07-09 20:06:25 PDT
Bug 187503
– [Win][MiniBrowser] Disable accelerated compositing until it is supported
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