Index: Source/core/page/Page.cpp |
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp |
index 5649595941a22615308b5a0423a5d9bdcdd42a1a..53d20661454f769ac28292653b8613ad2f463708 100644 |
--- a/Source/core/page/Page.cpp |
+++ b/Source/core/page/Page.cpp |
@@ -251,7 +251,7 @@ void Page::scheduleForcedStyleRecalcForAllPages() |
HashSet<Page*>::iterator end = allPages().end(); |
for (HashSet<Page*>::iterator it = allPages().begin(); it != end; ++it) |
for (Frame* frame = (*it)->mainFrame(); frame; frame = frame->tree().traverseNext()) |
- frame->document()->setNeedsStyleRecalc(); |
+ frame->document()->setNeedsStyleRecalc(SubtreeStyleChange); |
} |
void Page::setNeedsRecalcStyleInAllFrames() |