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

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

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable 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.h
diff --git a/third_party/WebKit/Source/core/css/StyleRuleImport.h b/third_party/WebKit/Source/core/css/StyleRuleImport.h
index fbd48c526efff3d9dc88b65e5f45e5fa96b76cd6..2c795e15548eeec8d7cf02707dfcb83e4ddec64e 100644
--- a/third_party/WebKit/Source/core/css/StyleRuleImport.h
+++ b/third_party/WebKit/Source/core/css/StyleRuleImport.h
@@ -40,15 +40,15 @@ public:
~StyleRuleImport();
- StyleSheetContents* parentStyleSheet() const;
- void setParentStyleSheet(StyleSheetContents*);
- void clearParentStyleSheet();
+ StyleSheetContents* parentStyleSheet() const { return m_parentStyleSheet; }
+ void setParentStyleSheet(StyleSheetContents* sheet) { ASSERT(sheet); m_parentStyleSheet = sheet; }
+ void clearParentStyleSheet() { m_parentStyleSheet = nullptr; }
String href() const { return m_strHref; }
- StyleSheetContents* styleSheet() const;
+ StyleSheetContents* styleSheet() const { return m_styleSheet.get(); }
bool isLoading() const;
- MediaQuerySet* mediaQueries() const;
+ MediaQuerySet* mediaQueries() { return m_mediaQueries.get(); }
void requestStyleSheet();

Powered by Google App Engine
This is Rietveld 408576698