How about make this static to handle multiple xwalkview cases?