Index: android_webview/java/src/org/chromium/android_webview/AwContents.java |
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java |
index 59ede168dad6c84d48d828a2c23672e8bec5677a..0a0e8530776bffcb7df689bea0ff2b19e862f171 100644 |
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java |
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java |
@@ -2628,6 +2628,13 @@ public class AwContents implements SmartClipProvider, |
}); |
} |
+ protected void insertVisualStateCallbackIfNotDestroyed( |
+ long requestId, VisualStateCallback callback) { |
+ if (TRACE) Log.d(TAG, "insertVisualStateCallbackIfNotDestroyed"); |
+ if (isDestroyed()) return; |
+ nativeInsertVisualStateCallback(mNativeAwContents, requestId, callback); |
+ } |
+ |
// -------------------------------------------------------------------------------------------- |
// This is the AwViewMethods implementation that does real work. The AwViewMethodsImpl is |
// hooked up to the WebView in embedded mode and to the FullScreenView in fullscreen mode, |