Index: tools/grit/grit/format/policy_templates/writers/plist_strings_writer.py |
diff --git a/tools/grit/grit/format/policy_templates/writers/plist_strings_writer.py b/tools/grit/grit/format/policy_templates/writers/plist_strings_writer.py |
index 965c90046d0d85b669b97d4cd9f0582372174aad..b26e222098a16a1ffd812fab45629efe0e202524 100644 |
--- a/tools/grit/grit/format/policy_templates/writers/plist_strings_writer.py |
+++ b/tools/grit/grit/format/policy_templates/writers/plist_strings_writer.py |
@@ -7,12 +7,12 @@ from grit.format.policy_templates.writers import plist_helper |
from grit.format.policy_templates.writers import template_writer |
-def GetWriter(config, messages): |
+def GetWriter(config): |
'''Factory method for creating PListStringsWriter objects. |
See the constructor of TemplateWriter for description of |
arguments. |
''' |
- return PListStringsWriter(['mac'], config, messages) |
+ return PListStringsWriter(['mac'], config) |
class PListStringsWriter(template_writer.TemplateWriter): |
@@ -59,7 +59,7 @@ class PListStringsWriter(template_writer.TemplateWriter): |
self._AddToStringTable( |
app_name, |
self.config['app_name'], |
- self.messages['IDS_POLICY_MAC_CHROME_PREFERENCES']) |
+ self.messages['mac_chrome_preferences']['text']) |
def Init(self): |
# A buffer for the lines of the string table being generated. |