| Index: third_party/WebKit/Source/core/frame/FrameView.h
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
|
| index b837f722287136d6bb053d693dc844643ccb8794..f2a4129d0bd3ac00f9d88dfd600842707126f8d1 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.h
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.h
|
| @@ -839,7 +839,7 @@ inline void FrameView::incrementVisuallyNonEmptyCharacterCount(unsigned count)
|
| if (m_isVisuallyNonEmpty)
|
| return;
|
| m_visuallyNonEmptyCharacterCount += count;
|
| - // Use a threshold value to prevent very small amounts of visible content from triggering didFirstVisuallyNonEmptyLayout.
|
| + // Use a threshold value to prevent very small amounts of visible content from triggering didMeaningfulLayout.
|
| // The first few hundred characters rarely contain the interesting content of the page.
|
| static const unsigned visualCharacterThreshold = 200;
|
| if (m_visuallyNonEmptyCharacterCount > visualCharacterThreshold)
|
| @@ -851,7 +851,7 @@ inline void FrameView::incrementVisuallyNonEmptyPixelCount(const IntSize& size)
|
| if (m_isVisuallyNonEmpty)
|
| return;
|
| m_visuallyNonEmptyPixelCount += size.width() * size.height();
|
| - // Use a threshold value to prevent very small amounts of visible content from triggering didFirstVisuallyNonEmptyLayout
|
| + // Use a threshold value to prevent very small amounts of visible content from triggering didMeaningfulLayout.
|
| static const unsigned visualPixelThreshold = 32 * 32;
|
| if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
|
| setIsVisuallyNonEmpty();
|
|
|