Index: tools/grit/grit/node/include.py |
diff --git a/tools/grit/grit/node/include.py b/tools/grit/grit/node/include.py |
index 4bad78594727e45b7f25705336108cfec16866c2..c4662084a2e23cd6690b321f06c1483f4ff5c65f 100755 |
--- a/tools/grit/grit/node/include.py |
+++ b/tools/grit/grit/node/include.py |
@@ -39,7 +39,8 @@ class IncludeNode(base.Node): |
if not self._flattened_data: |
filename = self.ToRealPath(self.GetInputPath()) |
self._flattened_data = ( |
- grit.format.html_inline.InlineToString(filename, self, |
+ grit.format.html_inline.InlineToString(filename, |
+ self.EvaluateCondition, |
preprocess_only=False, |
allow_external_script=allow_external_script)) |
return self._flattened_data |