When Safari reloads pages with Flash objects after Flash is installed, placeholders...
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Jan 2017 20:58:35 +0000 (20:58 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Jan 2017 20:58:35 +0000 (20:58 +0000)
commit38946189b545f0aa0b5b5dd6b4565660780f0214
treeaa3cc4e1bdeb3e4df1216b534ce60df496e57dcb
parent177afa3a3c6f06f85c46e009b8fe300921daab7b
When Safari reloads pages with Flash objects after Flash is installed, placeholders don't paint (but do work!)
https://bugs.webkit.org/show_bug.cgi?id=167268
rdar://problem/29857388

Reviewed by Sam Weinig.

Source/WebCore:

* page/Page.cpp:
(WebCore::Page::refreshPlugins):
Call PluginInfoProvider::refresh instead.

(WebCore::Page::clearPluginData):
Add new setter.

* page/Page.h:
Declare new members.

* plugins/PluginInfoProvider.cpp:
(WebCore::PluginInfoProvider::refresh):
Put the logic to clear plug-in data and reload frames here.

* plugins/PluginInfoProvider.h:
Add new members.

Source/WebKit2:

* WebProcess/Plugins/WebPluginInfoProvider.h:
Make refreshPlugins() private.

* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::refreshPlugins):
Call the newly added PluginInfoProvider::refresh().

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@211052 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/page/Page.cpp
Source/WebCore/page/Page.h
Source/WebCore/plugins/PluginInfoProvider.cpp
Source/WebCore/plugins/PluginInfoProvider.h
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/Plugins/WebPluginInfoProvider.h
Source/WebKit2/WebProcess/WebProcess.cpp