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

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/params_definition.tmpl

Issue 293983026: Mojo cpp bindings: remove redundant validation in Decode*(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
Index: mojo/public/tools/bindings/generators/cpp_templates/params_definition.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/params_definition.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/params_definition.tmpl
index 2625cfa0d6dfb4230a9ba9ee226c3ed2607dc7df..0b1104719bbf53be902c63c0d6563c50eff85c35 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/params_definition.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/params_definition.tmpl
@@ -19,9 +19,8 @@ class {{class_name}} {
{{ struct_macros.encodes(struct)|indent(4) }}
}
- bool DecodePointersAndHandles(mojo::Message* message) {
+ void DecodePointersAndHandles(std::vector<mojo::Handle>* handles) {
{{ struct_macros.decodes(struct)|indent(4) }}
- return true;
}
private:

Powered by Google App Engine
This is Rietveld 408576698