Skip to content

Commit d773ca8

Browse files
author
Selim Gurun
committed
remove defunct javascript interface
Bug: 7073422 The feature that is using search box implementation was removed from browser after Honeycomb. This is to remove the js interface that is added for this feature. Change-Id: I9441d461caf189467e4ad45de958c13b81f4ff17
1 parent f203aee commit d773ca8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/java/android/webkit/BrowserFrame.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ public BrowserFrame(Context context, WebViewCore w, CallbackProxy proxy,
247247
mWebViewCore = w;
248248

249249
mSearchBox = new SearchBoxImpl(mWebViewCore, mCallbackProxy);
250-
mJavaScriptObjects.put(SearchBoxImpl.JS_INTERFACE_NAME, mSearchBox);
251250

252251
AssetManager am = context.getAssets();
253252
nativeCreateFrame(w, am, proxy.getBackForwardList());
@@ -598,8 +597,6 @@ private void windowObjectCleared(int nativeFramePointer) {
598597
}
599598
}
600599
mRemovedJavaScriptObjects.clear();
601-
602-
stringByEvaluatingJavaScriptFromString(SearchBoxImpl.JS_BRIDGE);
603600
}
604601

605602
/**

0 commit comments

Comments
 (0)