Index: chrome/common/extensions/docs/server2/handler.py |
diff --git a/chrome/common/extensions/docs/server2/handler.py b/chrome/common/extensions/docs/server2/handler.py |
index 479d724c1df01032b5c504f20e9ea2a24dc6bc92..92e7c77e7c7c399ce7b59ccba2ababe006d84b6d 100644 |
--- a/chrome/common/extensions/docs/server2/handler.py |
+++ b/chrome/common/extensions/docs/server2/handler.py |
@@ -68,7 +68,6 @@ def _GetInstanceForBranch(branch, local_path): |
AppEngineMemcache(branch)) |
cache_builder = FileSystemCache.Builder(file_system) |
- api_data_source_factory = APIDataSource.Factory(cache_builder, API_PATH) |
api_list_data_source = APIListDataSource(cache_builder, |
file_system, |
API_PATH, |
@@ -79,6 +78,9 @@ def _GetInstanceForBranch(branch, local_path): |
file_system, |
cache_builder, |
EXAMPLES_PATH) |
+ api_data_source_factory = APIDataSource.Factory(cache_builder, |
+ API_PATH, |
+ samples_data_source_factory) |
template_data_source_factory = TemplateDataSource.Factory( |
branch, |
api_data_source_factory, |