| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All |
| 7 * rights reserved. | 7 * rights reserved. |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 DCHECK(!candidate.IsXSL()); | 59 DCHECK(!candidate.IsXSL()); |
| 60 if (candidate.IsImport()) { | 60 if (candidate.IsImport()) { |
| 61 Document* document = candidate.ImportedDocument(); | 61 Document* document = candidate.ImportedDocument(); |
| 62 if (!document) | 62 if (!document) |
| 63 continue; | 63 continue; |
| 64 if (collector.HasVisited(document)) | 64 if (collector.HasVisited(document)) |
| 65 continue; | 65 continue; |
| 66 collector.WillVisit(document); | 66 collector.WillVisit(document); |
| 67 | 67 |
| 68 document->GetStyleEngine().UpdateStyleSheetsInImport(master_engine, | 68 document->GetStyleEngine().UpdateActiveStyleSheetsInImport(master_engine, |
| 69 collector); | 69 collector); |
| 70 continue; | 70 continue; |
| 71 } | 71 } |
| 72 | 72 |
| 73 if (candidate.IsEnabledAndLoading()) | 73 if (candidate.IsEnabledAndLoading()) |
| 74 continue; | 74 continue; |
| 75 | 75 |
| 76 StyleSheet* sheet = candidate.Sheet(); | 76 StyleSheet* sheet = candidate.Sheet(); |
| 77 if (!sheet) | 77 if (!sheet) |
| 78 continue; | 78 continue; |
| 79 | 79 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 continue; | 126 continue; |
| 127 if (!candidate.CanBeActivated( | 127 if (!candidate.CanBeActivated( |
| 128 GetDocument().GetStyleEngine().PreferredStylesheetSetName())) | 128 GetDocument().GetStyleEngine().PreferredStylesheetSetName())) |
| 129 continue; | 129 continue; |
| 130 viewport_resolver.CollectViewportRulesFromAuthorSheet( | 130 viewport_resolver.CollectViewportRulesFromAuthorSheet( |
| 131 *ToCSSStyleSheet(sheet)); | 131 *ToCSSStyleSheet(sheet)); |
| 132 } | 132 } |
| 133 } | 133 } |
| 134 | 134 |
| 135 } // namespace blink | 135 } // namespace blink |
| OLD | NEW |