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

Unified Diff: third_party/WebKit/Source/core/html/HTMLLinkElement.h

Issue 1413563005: Reset CORS status upon re-initiating fetch of a stylesheet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adjust test a bit Created 5 years, 2 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/HTMLLinkElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.h b/third_party/WebKit/Source/core/html/HTMLLinkElement.h
index 4584514a98405736215443903af9991b650b032d..e1c0df296f9272ba9f685af403aa2b5dd8a7717c 100644
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.h
@@ -111,6 +111,10 @@ private:
ASSERT(!m_fetchFollowingCORS);
m_fetchFollowingCORS = true;
}
+ void clearFetchFollowingCORS()
+ {
+ m_fetchFollowingCORS = false;
+ }
RefPtrWillBeMember<CSSStyleSheet> m_sheet;
DisabledState m_disabledState;

Powered by Google App Engine
This is Rietveld 408576698