Merge "Remove Webview Overlays on destroy" into sc-dev
This commit is contained in:
@@ -100,6 +100,9 @@ WebViewFunctor::~WebViewFunctor() {
|
||||
destroyContext();
|
||||
|
||||
ATRACE_NAME("WebViewFunctor::onDestroy");
|
||||
if (mSurfaceControl) {
|
||||
removeOverlays();
|
||||
}
|
||||
mCallbacks.onDestroyed(mFunctor, mData);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user