Index: chrome/common/extensions/docs/server2/api_models.py |
diff --git a/chrome/common/extensions/docs/server2/api_models.py b/chrome/common/extensions/docs/server2/api_models.py |
index 673dc434661fe18a297217db4f0bbf02d84716c2..d50e1a1b7f4938c1b5b1d296470e8a07e583be63 100644 |
--- a/chrome/common/extensions/docs/server2/api_models.py |
+++ b/chrome/common/extensions/docs/server2/api_models.py |
@@ -38,7 +38,9 @@ class APIModels(object): |
node['extension_types'] != 'all' and |
self._platform not in node['extension_types']) |
- schema = ProcessSchema(path, data, inline=True)[0] |
+ # Inlined types are retained in the processed schema for availability |
+ # finding purposes; they should be removed when creating Namespace objects. |
not at google - send to devlin
2014/07/16 16:17:15
See comment in schema_util. This comment shouldn't
|
+ schema = ProcessSchema(path, data, retain_inlined_types=False)[0] |
if not schema: |
raise ValueError('No schema for %s' % path) |
return Namespace(DeleteNodes( |