From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/page/LayoutMilestones.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'Source/WebCore/page/LayoutMilestones.h') diff --git a/Source/WebCore/page/LayoutMilestones.h b/Source/WebCore/page/LayoutMilestones.h index 7007434bf..1785b33a9 100644 --- a/Source/WebCore/page/LayoutMilestones.h +++ b/Source/WebCore/page/LayoutMilestones.h @@ -23,8 +23,7 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef LayoutMilestones_h -#define LayoutMilestones_h +#pragma once namespace WebCore { @@ -32,16 +31,15 @@ namespace WebCore { // We should either re-name them to something more generic, or split them into // two enums -- one for painting and one for layout. enum LayoutMilestoneFlag { - DidFirstLayout = 1 << 0, - DidFirstVisuallyNonEmptyLayout = 1 << 1, - DidHitRelevantRepaintedObjectsAreaThreshold = 1 << 2, - DidFirstFlushForHeaderLayer = 1 << 3, - DidFirstLayoutAfterSuppressedIncrementalRendering = 1 << 4, - DidFirstPaintAfterSuppressedIncrementalRendering = 1 << 5 + DidFirstLayout = 1 << 0, + DidFirstVisuallyNonEmptyLayout = 1 << 1, + DidHitRelevantRepaintedObjectsAreaThreshold = 1 << 2, + DidFirstFlushForHeaderLayer = 1 << 3, + DidFirstLayoutAfterSuppressedIncrementalRendering = 1 << 4, + DidFirstPaintAfterSuppressedIncrementalRendering = 1 << 5, + ReachedSessionRestorationRenderTreeSizeThreshold = 1 << 6 // FIXME: only implemented by WK2 currently. }; typedef unsigned LayoutMilestones; } // namespace WebCore - -#endif // LayoutMilestones_h -- cgit v1.2.1