| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/dom/TreeScopeStyleSheetCollection.h" | 5 #include "core/dom/TreeScopeStyleSheetCollection.h" |
| 6 | 6 |
| 7 #include "core/css/CSSStyleSheet.h" | 7 #include "core/css/CSSStyleSheet.h" |
| 8 #include "core/css/StyleSheetContents.h" | 8 #include "core/css/StyleSheetContents.h" |
| 9 #include "core/css/parser/CSSParserMode.h" | 9 #include "core/css/parser/CSSParserMode.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 current.append(sheet3); | 141 current.append(sheet3); |
| 142 | 142 |
| 143 // TODO(rune@opera.com): This is clearly wrong. We add sheet3 and remove she
et1 and | 143 // TODO(rune@opera.com): This is clearly wrong. We add sheet3 and remove she
et1 and |
| 144 // compareStyleSheets returns sheet2 and sheet3 as added (crbug/475858). | 144 // compareStyleSheets returns sheet2 and sheet3 as added (crbug/475858). |
| 145 added.append(sheet2->contents()); | 145 added.append(sheet2->contents()); |
| 146 added.append(sheet3->contents()); | 146 added.append(sheet3->contents()); |
| 147 | 147 |
| 148 compareStyleSheets(previous, current, added, Reconstruct); | 148 compareStyleSheets(previous, current, added, Reconstruct); |
| 149 } | 149 } |
| 150 | 150 |
| 151 } | 151 } // namespace blink |
| OLD | NEW |