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

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

Issue 1011103002: Allow cross-origin cssRules access to CORS-fetched stylesheet. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: compile fix.. Created 5 years, 9 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
« no previous file with comments | « Source/core/css/CSSStyleSheet.cpp ('k') | Source/core/html/HTMLLinkElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLLinkElement.h
diff --git a/Source/core/html/HTMLLinkElement.h b/Source/core/html/HTMLLinkElement.h
index ca79516aa5f07fec0f40282727c2b0018574f4b4..3a7aea59b57a9dae5967bb76157c2319dc9f63e9 100644
--- a/Source/core/html/HTMLLinkElement.h
+++ b/Source/core/html/HTMLLinkElement.h
@@ -104,12 +104,20 @@ private:
void removePendingSheet();
Document& document();
+ void setCrossOriginStylesheetStatus(CSSStyleSheet*);
+ void setFetchFollowingCORS()
+ {
+ ASSERT(!m_fetchFollowingCORS);
+ m_fetchFollowingCORS = true;
+ }
+
RefPtrWillBeMember<CSSStyleSheet> m_sheet;
DisabledState m_disabledState;
PendingSheetType m_pendingSheetType;
bool m_loading;
bool m_firedLoad;
bool m_loadedSheet;
+ bool m_fetchFollowingCORS;
};
« no previous file with comments | « Source/core/css/CSSStyleSheet.cpp ('k') | Source/core/html/HTMLLinkElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698