Index: Source/core/frame/UseCounter.cpp |
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp |
index d334edf8772c548a7f504696ccefdac297dd89a8..d0de31e1390ff731a1130981b4fda2f0a5c6a86d 100644 |
--- a/Source/core/frame/UseCounter.cpp |
+++ b/Source/core/frame/UseCounter.cpp |
@@ -724,7 +724,7 @@ UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
{ |
// FIXME: We may want to handle stylesheets that have multiple owners |
// http://crbug.com/242125 |
- if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->hasSingleOwnerNode()) |
+ if (sheetContents && sheetContents->hasSingleOwnerNode()) |
return getFrom(sheetContents->singleOwnerDocument()); |
return 0; |
} |