Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: third_party/WebKit/Source/web/tests/HTMLImportSheetsTest.cpp

Issue 2884993002: Don't trigger full active style update on styleSheets access. (Closed)
Patch Set: Not clearing document_scope_dirty_ flag in import styleSheets anymore. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/HTMLImportSheetsTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/HTMLImportSheetsTest.cpp b/third_party/WebKit/Source/web/tests/HTMLImportSheetsTest.cpp
index 36c75d90f34c129c1e6a398de8e7c98025fd2d2d..edb3eb8f00a52ac693eabe3bbbb4aeb0c46dd7bd 100644
--- a/third_party/WebKit/Source/web/tests/HTMLImportSheetsTest.cpp
+++ b/third_party/WebKit/Source/web/tests/HTMLImportSheetsTest.cpp
@@ -52,7 +52,7 @@ TEST_F(HTMLImportSheetsTest, UpdateStyleSheetList) {
import_doc->GetStyleEngine().StyleSheetsForStyleSheetList(*import_doc);
EXPECT_TRUE(GetDocument().GetStyleEngine().NeedsActiveStyleUpdate());
- EXPECT_FALSE(import_doc->GetStyleEngine().NeedsActiveStyleUpdate());
+ EXPECT_TRUE(import_doc->GetStyleEngine().NeedsActiveStyleUpdate());
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698