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

Unified Diff: third_party/WebKit/Source/core/css/StyleRuleImport.cpp

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 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
Index: third_party/WebKit/Source/core/css/StyleRuleImport.cpp
diff --git a/third_party/WebKit/Source/core/css/StyleRuleImport.cpp b/third_party/WebKit/Source/core/css/StyleRuleImport.cpp
index 90eddf9865c9e4aa0cd43e7bf959f789408ae4e2..5f597fea20f2376bd3d7644c7de2e305e36be3d6 100644
--- a/third_party/WebKit/Source/core/css/StyleRuleImport.cpp
+++ b/third_party/WebKit/Source/core/css/StyleRuleImport.cpp
@@ -68,6 +68,32 @@ DEFINE_TRACE_AFTER_DISPATCH(StyleRuleImport)
StyleRuleBase::traceAfterDispatch(visitor);
}
+StyleSheetContents* StyleRuleImport::parentStyleSheet() const
+{
+ return m_parentStyleSheet;
+}
+
+void StyleRuleImport::setParentStyleSheet(StyleSheetContents* sheet)
+{
+ ASSERT(sheet);
+ m_parentStyleSheet = sheet;
+}
+
+void StyleRuleImport::clearParentStyleSheet()
+{
+ m_parentStyleSheet = nullptr;
+}
+
+StyleSheetContents* StyleRuleImport::styleSheet() const
+{
+ return m_styleSheet.get();
+}
+
+MediaQuerySet* StyleRuleImport::mediaQueries() const
+{
+ return m_mediaQueries.get();
+}
+
void StyleRuleImport::setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource* cachedStyleSheet)
{
if (m_styleSheet)
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleRuleImport.h ('k') | third_party/WebKit/Source/core/css/resolver/StyleResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698