Change-Id: I4b61530009fcbd44264fa80427b910dab1cf5cec
var validator_ = xwalk.utils.validator;
var types_ = validator_.Types;
+var type_utils = xwalk.utils.type;
var native_ = new xwalk.utils.NativeManager(extension);
//////////////////SEService/////////////////
delete this.listeners[watchId];
}
- if (this.nativeSet && type_.isEmptyObject(this.listeners)) {
+ if (this.nativeSet && type_utils.isEmptyObject(this.listeners)) {
this.native.callSync('SEService_unregisterSEListener');
this.native.removeListener(this.listenerName);
this.nativeSet = false;