Index: mojo/public/js/bindings/validator.js |
diff --git a/mojo/public/js/bindings/validator.js b/mojo/public/js/bindings/validator.js |
index dad1f59f0dd7e482602529b6473eac9fe5b8d0e2..de756566224f09228b5bd6cd0443c1b6eaa8a619 100644 |
--- a/mojo/public/js/bindings/validator.js |
+++ b/mojo/public/js/bindings/validator.js |
@@ -188,9 +188,9 @@ define("mojo/public/js/bindings/validator", [ |
return structClass.validate(this, structOffset); |
} |
- Validator.prototype.validateStringPointer = function(offset) { |
+ Validator.prototype.validateStringPointer = function(offset, nullable) { |
return this.validateArrayPointer( |
- offset, codec.Uint8.encodedSize, 0, codec.Uint8); |
+ offset, codec.Uint8.encodedSize, 0, codec.Uint8, nullable); |
} |
// Similar to Array_Data<T>::Validate() |