summaryrefslogtreecommitdiffstats
path: root/src/core/web_engine_context.cpp
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2020-04-03 12:33:33 +0200
committerJüri Valdmann <juri.valdmann@qt.io>2020-04-09 08:37:03 +0200
commit9edaf3675cb8e94372bff579cbaec022ca26ee21 (patch)
treef166bd10231060adbdca27489fb65d4d980ca352 /src/core/web_engine_context.cpp
parentcee8776777e72f2820f04f1df00e2aeebbf9af49 (diff)
Use SetBaseBackgroundColorOverride for setting background color
The normal WebViewImpl::SetBaseBackgroundColor expects to be called only during certain lifecycle states, otherwise a DCHECK will be triggered. Whereas the *Override version forces a lifecycle update. Needs 3rdparty change to stop RenderWidgetHostViewBase::SetBaseBackgroundColor from clearing the override color when switching between opaque and transparent colors though. Change-Id: If4c1e22886d7ebc7d87ca880dd9c6a659855a931 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'src/core/web_engine_context.cpp')
0 files changed, 0 insertions, 0 deletions