| Index: Source/core/css/StyleSheetList.cpp
|
| diff --git a/Source/core/css/StyleSheetList.cpp b/Source/core/css/StyleSheetList.cpp
|
| index 6715b33ec6b9e9f390f812dbb97af32acad476bc..e867dbc99521c767f0fa70c33092245931db268e 100644
|
| --- a/Source/core/css/StyleSheetList.cpp
|
| +++ b/Source/core/css/StyleSheetList.cpp
|
| @@ -81,4 +81,13 @@ HTMLStyleElement* StyleSheetList::getNamedItem(const String& name) const
|
| return 0;
|
| }
|
|
|
| +CSSStyleSheet* StyleSheetList::anonymousNamedGetter(const AtomicString& name)
|
| +{
|
| + HTMLStyleElement* item = getNamedItem(name);
|
| + if (!item)
|
| + return 0;
|
| +
|
| + return item->sheet();
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|