Bug 1294479 - Remove presentation methods from nsWindow/AndroidBridge; r=snorp
Remove the presentation methods from nsWindow/AndroidBridge now that they are not used. This also eliminates gGeckoViewWindow from nsWindow. NS_PRESENTATION_WINDOW and NS_PRESENTATION_SURFACE constants are added for GetNativeData/SetNativeData to provide replacements that support multiple GeckoViews/nsWindows.
This commit is contained in:
@@ -51,7 +51,6 @@ using namespace mozilla::dom;
|
||||
#include "android_npapi.h"
|
||||
#include "mozilla/Mutex.h"
|
||||
#include "mozilla/CondVar.h"
|
||||
#include "AndroidBridge.h"
|
||||
#include "mozilla/dom/ScreenOrientation.h"
|
||||
#include "mozilla/Hal.h"
|
||||
#include "GLContextProvider.h"
|
||||
@@ -901,7 +900,7 @@ already_AddRefed<AndroidSurfaceTexture> nsNPAPIPluginInstance::CreateSurfaceText
|
||||
void nsNPAPIPluginInstance::OnSurfaceTextureFrameAvailable()
|
||||
{
|
||||
if (mRunning == RUNNING && mOwner)
|
||||
AndroidBridge::Bridge()->InvalidateAndScheduleComposite();
|
||||
mOwner->Recomposite();
|
||||
}
|
||||
|
||||
void* nsNPAPIPluginInstance::AcquireContentWindow()
|
||||
|
||||
Reference in New Issue
Block a user