Index: tools/grit/grit/format/policy_templates/writers/json_writer.py |
diff --git a/tools/grit/grit/format/policy_templates/writers/json_writer.py b/tools/grit/grit/format/policy_templates/writers/json_writer.py |
index 776e4f5a739e09e0d767ec32697c43a6a7f029fc..37a0d6bb56632d35291c5d02cafa7d76deb302d7 100644 |
--- a/tools/grit/grit/format/policy_templates/writers/json_writer.py |
+++ b/tools/grit/grit/format/policy_templates/writers/json_writer.py |
@@ -7,12 +7,12 @@ from xml.dom import minidom |
from grit.format.policy_templates.writers import template_writer |
-def GetWriter(config, messages): |
+def GetWriter(config): |
'''Factory method for creating JsonWriter objects. |
See the constructor of TemplateWriter for description of |
arguments. |
''' |
- return JsonWriter(['linux'], config, messages) |
+ return JsonWriter(['linux'], config) |
class JsonWriter(template_writer.TemplateWriter): |