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

Unified Diff: third_party/WebKit/Source/core/html/HTMLScriptElement.cpp

Issue 2696653004: [Script Spec Annotation] Annotate and refactor script element's flags (Closed)
Patch Set: Created 3 years, 10 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: third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp b/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
index 0110fca0800a72272486618e7c97e5c235de4120..67f8215c1f185c961df000c2fe5cbebcd66db538 100644
--- a/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
@@ -126,7 +126,7 @@ void HTMLScriptElement::setAsync(bool async) {
}
bool HTMLScriptElement::async() const {
- return fastHasAttribute(asyncAttr) || (m_loader->forceAsync());
+ return fastHasAttribute(asyncAttr) || (m_loader->isNonBlocking());
kouhei (in TOK) 2017/02/13 21:31:09 remove extra parens on (m_loader->isNonBlocking())
hiroshige 2017/02/13 21:46:53 Done.
}
KURL HTMLScriptElement::src() const {

Powered by Google App Engine
This is Rietveld 408576698