Index: third_party/WebKit/Source/core/paint/BlockPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/BlockPainter.cpp b/third_party/WebKit/Source/core/paint/BlockPainter.cpp |
index 9e0b7daea39a6350c3b2a9faf479da063caf7633..624d9f10fcf15f28cf637c4772e71eafbf30a16b 100644 |
--- a/third_party/WebKit/Source/core/paint/BlockPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/BlockPainter.cpp |
@@ -241,8 +241,8 @@ bool BlockPainter::intersectsPaintRect(const PaintInfo& paintInfo, const LayoutP |
void BlockPainter::paintContents(const PaintInfo& paintInfo, const LayoutPoint& paintOffset) |
{ |
// Avoid painting descendants of the root element when stylesheets haven't loaded. This eliminates FOUC. |
- // It's ok not to draw, because later on, when all the stylesheets do load, styleResolverChanged() on the Document |
- // will do a full paint invalidation. |
+ // It's ok not to draw, because later on, when all the stylesheets do load, styleResolverMayHaveChanged() |
+ // on Document will trigger a full paint invalidation. |
if (m_layoutBlock.document().didLayoutWithPendingStylesheets() && !m_layoutBlock.isLayoutView()) |
return; |