Chromium Code Reviews| Index: sky/engine/core/frame/UseCounter.cpp |
| diff --git a/sky/engine/core/frame/UseCounter.cpp b/sky/engine/core/frame/UseCounter.cpp |
| index a934e0389507de9a90c67fa31efb3e53b1e5972f..1c5d24d3f529c234275b20de824ed75e23b0aa74 100644 |
| --- a/sky/engine/core/frame/UseCounter.cpp |
| +++ b/sky/engine/core/frame/UseCounter.cpp |
| @@ -254,10 +254,7 @@ UseCounter* UseCounter::getFrom(const CSSStyleSheet* sheet) |
| UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| { |
| - // FIXME: We may want to handle stylesheets that have multiple owners |
| - // http://crbug.com/242125 |
| - if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| - return getFrom(sheetContents->singleOwnerDocument()); |
| + // TODO(esprehn): Support this in Sky. |
|
ojan
2014/12/13 00:55:38
Is this just:
if (sheetContents)
return getFrom(
|
| return 0; |
| } |