Commit 53ef599
committed
REGRESSION(r229484): Plugins often require CGS Connections to draw
https://bugs.webkit.org/show_bug.cgi?id=183663
<rdar://problem/38439218>
Reviewed by Per Arne Vollan.
Flash requires an active CGSConnection to work properly. Since we don't want the WebContent
process to have on, create a new plugin process-specific layer host creation method that
gives this access.
* Platform/mac/LayerHostingContext.h:
* Platform/mac/LayerHostingContext.mm:
(WebKit::LayerHostingContext::createForExternalPluginHostingProcess): Added.
* PluginProcess/mac/PluginControllerProxyMac.mm:
(WebKit::PluginControllerProxy::updateLayerHostingContext): Use the new creation
method.
Canonical link: https://commits.webkit.org/199309@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229629 268f45cc-cd09-0410-ab3c-d52691b4dbfc1 parent a2b9560 commit 53ef599Copy full SHA for 53ef599
4 files changed
+33-1Lines changed: 33 additions & 1 deletion
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- Source/WebKit
- Platform/mac
- PluginProcess/mac
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+19Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
1 | 20 | |
2 | 21 | |
3 | 22 | |
|
Collapse file
Source/WebKit/Platform/mac/LayerHostingContext.h
Copy file name to clipboardExpand all lines: Source/WebKit/Platform/mac/LayerHostingContext.h+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
46 | 46 | |
47 | 47 | |
48 | 48 | |
| 49 | + |
| 50 | + |
| 51 | + |
49 | 52 | |
50 | 53 | |
51 | 54 | |
|
Collapse file
Source/WebKit/Platform/mac/LayerHostingContext.mm
Copy file name to clipboardExpand all lines: Source/WebKit/Platform/mac/LayerHostingContext.mm+10Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
72 | 72 | |
73 | 73 | |
74 | 74 | |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
75 | 84 | |
| 85 | + |
76 | 86 | |
77 | 87 | |
78 | 88 | |
|
Collapse file
Source/WebKit/PluginProcess/mac/PluginControllerProxyMac.mm
Copy file name to clipboardExpand all lines: Source/WebKit/PluginProcess/mac/PluginControllerProxyMac.mm+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
130 | 130 | |
131 | 131 | |
132 | 132 | |
133 | | - |
| 133 | + |
134 | 134 | |
135 | 135 | |
136 | 136 | |
|
0 commit comments