| Index: Source/core/css/CSSStyleSheet.cpp
|
| diff --git a/Source/core/css/CSSStyleSheet.cpp b/Source/core/css/CSSStyleSheet.cpp
|
| index 4f3e9b409507d1ed0374e0ad4ee1766b9345c497..b11acc7cd4d9bc2c17d9bebb3ca38825254d25a9 100644
|
| --- a/Source/core/css/CSSStyleSheet.cpp
|
| +++ b/Source/core/css/CSSStyleSheet.cpp
|
| @@ -253,7 +253,7 @@ bool CSSStyleSheet::canAccessRules() const
|
| PassRefPtr<CSSRuleList> CSSStyleSheet::rules()
|
| {
|
| if (!canAccessRules())
|
| - return 0;
|
| + return nullptr;
|
| // IE behavior.
|
| RefPtr<StaticCSSRuleList> nonCharsetRules = StaticCSSRuleList::create();
|
| unsigned ruleCount = length();
|
| @@ -344,7 +344,7 @@ int CSSStyleSheet::addRule(const String& selector, const String& style, Exceptio
|
| PassRefPtr<CSSRuleList> CSSStyleSheet::cssRules()
|
| {
|
| if (!canAccessRules())
|
| - return 0;
|
| + return nullptr;
|
| if (!m_ruleListCSSOMWrapper)
|
| m_ruleListCSSOMWrapper = adoptPtr(new StyleSheetCSSRuleList(this));
|
| return m_ruleListCSSOMWrapper.get();
|
|
|