Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1760)

Unified Diff: mojo/public/js/bindings/validator.js

Issue 467263006: JavaScript Content Handler Version 0.0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« mojo/apps/js/js_app.cc ('K') | « mojo/mojo_apps.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« mojo/apps/js/js_app.cc ('K') | « mojo/mojo_apps.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698