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

Unified Diff: third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.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/CSSDefaultStyleSheets.h
diff --git a/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h b/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h
index e44cf7f46b06342df7855424d7008f5b7040d205..eaecf4a8cf46b17dc1524ba0f358e9a3fc94fa0e 100644
--- a/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h
+++ b/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h
@@ -40,21 +40,21 @@ public:
void ensureDefaultStyleSheetsForElement(const Element&, bool& changedDefaultStyle);
- RuleSet* defaultStyle() const;
- RuleSet* defaultQuirksStyle() const;
- RuleSet* defaultPrintStyle() const;
+ RuleSet* defaultStyle() { return m_defaultStyle.get(); }
+ RuleSet* defaultQuirksStyle() { return m_defaultQuirksStyle.get(); }
+ RuleSet* defaultPrintStyle() { return m_defaultPrintStyle.get(); }
RuleSet* defaultViewSourceStyle();
RuleSet* defaultMobileViewportStyle();
// FIXME: Remove WAP support.
RuleSet* defaultXHTMLMobileProfileStyle();
- StyleSheetContents* defaultStyleSheet() const;
- StyleSheetContents* quirksStyleSheet() const;
- StyleSheetContents* svgStyleSheet() const;
- StyleSheetContents* mathmlStyleSheet() const;
- StyleSheetContents* mediaControlsStyleSheet() const;
- StyleSheetContents* fullscreenStyleSheet() const;
+ StyleSheetContents* defaultStyleSheet() { return m_defaultStyleSheet.get(); }
+ StyleSheetContents* quirksStyleSheet() { return m_quirksStyleSheet.get(); }
+ StyleSheetContents* svgStyleSheet() { return m_svgStyleSheet.get(); }
+ StyleSheetContents* mathmlStyleSheet() { return m_mathmlStyleSheet.get(); }
+ StyleSheetContents* mediaControlsStyleSheet() { return m_mediaControlsStyleSheet.get(); }
+ StyleSheetContents* fullscreenStyleSheet() { return m_fullscreenStyleSheet.get(); }
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698