/**
* It's the Internal class to handle legacy resource related callbacks not
* handled by XWalkResourceClient.
+ *
+ * @hide
*/
public class XWalkClient {
private AlertDialog mDialog;
private XWalkView mXWalkView;
- public XWalkClient(Context context, XWalkView view) {
- mContext = context;
+ public XWalkClient(XWalkView view) {
+ mContext = view.getContext();
mXWalkView = view;
}