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

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

Issue 723583002: Make the parser an implementation detail of the Document (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rename textPosition to parserPosition 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/imports/HTMLImportLoader.cpp ('k') | no next file » | 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 9abe1387ee740eedce0e724a000769428fe3f3a0..b330e5a6d6c2920632a05fb1f00701b179cd0a42 100644
--- a/sky/engine/core/loader/MojoLoader.cpp
+++ b/sky/engine/core/loader/MojoLoader.cpp
@@ -41,8 +41,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();
- document->parser()->parse(responseStream.Pass());
+ document->startParsing()->parse(responseStream.Pass());
}
}
« no previous file with comments | « sky/engine/core/html/imports/HTMLImportLoader.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698