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

Unified Diff: Source/core/css/CSSDefaultStyleSheets.h

Issue 1150823004: Make ensureDefaultStyleSheetForElement parameter const reference. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | Source/core/css/CSSDefaultStyleSheets.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSDefaultStyleSheets.h
diff --git a/Source/core/css/CSSDefaultStyleSheets.h b/Source/core/css/CSSDefaultStyleSheets.h
index b7c0489b8213ee258bb310af012100736e167462..df14ee3c9ec9ef261ac907eef13eb97172c97d7d 100644
--- a/Source/core/css/CSSDefaultStyleSheets.h
+++ b/Source/core/css/CSSDefaultStyleSheets.h
@@ -35,7 +35,7 @@ class CSSDefaultStyleSheets : public NoBaseWillBeGarbageCollected<CSSDefaultStyl
public:
static CSSDefaultStyleSheets& instance();
- void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaultStyle);
+ void ensureDefaultStyleSheetsForElement(const Element&, bool& changedDefaultStyle);
RuleSet* defaultStyle() { return m_defaultStyle.get(); }
RuleSet* defaultQuirksStyle() { return m_defaultQuirksStyle.get(); }
« no previous file with comments | « no previous file | Source/core/css/CSSDefaultStyleSheets.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698