Index: third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js b/third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js |
index 2137414bfdf5416ffbdb9345601bdfbdb2f795f3..53a698c738ae51863fbcf72f9154c7a1954699f2 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js |
+++ b/third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js |
@@ -149,7 +149,7 @@ WebInspector.HandlerRegistry.prototype = { |
uiSourceCode.commitWorkingCopy(); |
return; |
} |
- contentProvider.requestContent(doSave.bind(null, forceSaveAs)); |
+ contentProvider.requestContent().then(doSave.bind(null, forceSaveAs)); |
} |
contextMenu.appendSeparator(); |