Chromium Code Reviews

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

Issue 2547713003: Returned MediaQuerySet should be const. (Closed)
Patch Set: Rebased Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSStyleSheet.h
diff --git a/third_party/WebKit/Source/core/css/CSSStyleSheet.h b/third_party/WebKit/Source/core/css/CSSStyleSheet.h
index af33862f869d3cd187884c64a1dec78ff792918a..89fb5f326670b62a12ef8aaada3293e271e7c947 100644
--- a/third_party/WebKit/Source/core/css/CSSStyleSheet.h
+++ b/third_party/WebKit/Source/core/css/CSSStyleSheet.h
@@ -100,7 +100,7 @@ class CORE_EXPORT CSSStyleSheet final : public StyleSheet {
void clearOwnerRule() { m_ownerRule = nullptr; }
Document* ownerDocument() const;
- MediaQuerySet* mediaQueries() const { return m_mediaQueries.get(); }
+ const MediaQuerySet* mediaQueries() const { return m_mediaQueries; }
void setMediaQueries(MediaQuerySet*);
bool matchesMediaQueries(const MediaQueryEvaluator&);
const MediaQueryResultList& viewportDependentMediaQueryResults() const {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine