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

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

Issue 2547713003: Returned MediaQuerySet should be const. (Closed)
Patch Set: Created 4 years 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 | 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 1ad6f458e2668f216503bd018bab13f3d7b49023..16f88e1c57e8ce71ec7567362488605c535b3e4d 100644
--- a/third_party/WebKit/Source/core/css/CSSStyleSheet.h
+++ b/third_party/WebKit/Source/core/css/CSSStyleSheet.h
@@ -99,7 +99,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.get(); }
sof 2016/12/02 09:30:11 nit: get() is redundant.
rune 2016/12/02 09:52:52 Done.
void setMediaQueries(MediaQuerySet*);
void setTitle(const String& title) { m_title = title; }
// Set by LinkStyle iff CORS-enabled fetch of stylesheet succeeded from this
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698