mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1685183 Part 3: Remove remaining references to PluginInstanceChild. r=jgilbert
These references were left behind in the cleanup of the plugin code. Depends on D101227 Differential Revision: https://phabricator.services.mozilla.com/D111197
This commit is contained in:
parent
d47cb1243e
commit
430c8d503c
@ -265,9 +265,8 @@ class gfxPlatform : public mozilla::layers::MemoryPressureListener {
|
|||||||
* aTarget should not keep a reference to the returned surface because that
|
* aTarget should not keep a reference to the returned surface because that
|
||||||
* will cause a cycle.
|
* will cause a cycle.
|
||||||
*
|
*
|
||||||
* This function is static so that it can be accessed from
|
* This function is static so that it can be accessed from outside the main
|
||||||
* PluginInstanceChild (where we can't call gfxPlatform::GetPlatform()
|
* process.
|
||||||
* because the prefs service can only be accessed from the main process).
|
|
||||||
*
|
*
|
||||||
* aIsPlugin is used to tell the backend that they can optimize this surface
|
* aIsPlugin is used to tell the backend that they can optimize this surface
|
||||||
* specifically because it's used for a plugin. This is mostly for Skia.
|
* specifically because it's used for a plugin. This is mostly for Skia.
|
||||||
|
@ -419,7 +419,6 @@ ProcessOrDeferMessage(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
|
|||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
// We need the pointer value of this in PluginInstanceChild.
|
|
||||||
LRESULT CALLBACK NeuteredWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
|
LRESULT CALLBACK NeuteredWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
|
||||||
LPARAM lParam) {
|
LPARAM lParam) {
|
||||||
WNDPROC oldWndProc = (WNDPROC)GetProp(hwnd, kOldWndProcProp);
|
WNDPROC oldWndProc = (WNDPROC)GetProp(hwnd, kOldWndProcProp);
|
||||||
|
@ -57,9 +57,6 @@ namespace dom {
|
|||||||
class PBrowserParent;
|
class PBrowserParent;
|
||||||
class PBrowserChild;
|
class PBrowserChild;
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
namespace plugins {
|
|
||||||
class PPluginInstanceChild;
|
|
||||||
} // namespace plugins
|
|
||||||
|
|
||||||
enum class AccessKeyType {
|
enum class AccessKeyType {
|
||||||
// Handle access key for chrome.
|
// Handle access key for chrome.
|
||||||
|
Loading…
Reference in New Issue
Block a user