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

Unified Diff: Source/core/html/parser/HTMLParserOptions.cpp

Issue 521363002: Make XHR use the background HTML parser (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: register before finish Created 6 years, 3 months 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
Index: Source/core/html/parser/HTMLParserOptions.cpp
diff --git a/Source/core/html/parser/HTMLParserOptions.cpp b/Source/core/html/parser/HTMLParserOptions.cpp
index 64a3f4d8aa74308f684b9dbac02f3b3bffae584e..711d22f3f7158c2288cce9e12bc64412be6e2d4d 100644
--- a/Source/core/html/parser/HTMLParserOptions.cpp
+++ b/Source/core/html/parser/HTMLParserOptions.cpp
@@ -49,7 +49,7 @@ HTMLParserOptions::HTMLParserOptions(Document* document)
// frame) so the second case should go away eventually.
// FIXME: Gecko does not load javascript: urls synchronously, why do we?
// See LayoutTests/loader/iframe-sync-loads.html
- useThreading = document && document->frame() && !document->url().isAboutBlankURL();
+ useThreading = document && !document->url().isAboutBlankURL();
}
}

Powered by Google App Engine
This is Rietveld 408576698