Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Unified Diff: sky/engine/core/loader/MojoLoader.cpp

Issue 720903002: Script-based imports should basically work (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Use String::format Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/html/parser/HTMLDocumentParser.cpp ('k') | sky/engine/wtf/HashMap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/loader/MojoLoader.cpp
diff --git a/sky/engine/core/loader/MojoLoader.cpp b/sky/engine/core/loader/MojoLoader.cpp
index b330e5a6d6c2920632a05fb1f00701b179cd0a42..951da3208b1102731be8348cce9de1ef9ec489b1 100644
--- a/sky/engine/core/loader/MojoLoader.cpp
+++ b/sky/engine/core/loader/MojoLoader.cpp
@@ -5,6 +5,7 @@
#include "config.h"
#include "core/loader/MojoLoader.h"
+#include "base/bind.h"
#include "core/dom/Document.h"
#include "core/dom/DocumentInit.h"
#include "core/frame/LocalDOMWindow.h"
@@ -41,7 +42,7 @@ void MojoLoader::load(const KURL& url, ScopedDataPipeConsumerHandle responseStre
// FIXME: This should read the Content-Language out of the
// response headers and set them on Document::contentLanguage.
- document->startParsing()->parse(responseStream.Pass());
+ document->startParsing()->parse(responseStream.Pass(), base::Bind(base::DoNothing));
}
}
« no previous file with comments | « sky/engine/core/html/parser/HTMLDocumentParser.cpp ('k') | sky/engine/wtf/HashMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698