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

Side by Side Diff: Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp

Issue 1316673009: Revert of Add a FOUC painting test. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 namespace blink { 66 namespace blink {
67 67
68 DeprecatedPaintLayerCompositor::DeprecatedPaintLayerCompositor(LayoutView& layou tView) 68 DeprecatedPaintLayerCompositor::DeprecatedPaintLayerCompositor(LayoutView& layou tView)
69 : m_layoutView(layoutView) 69 : m_layoutView(layoutView)
70 , m_compositingReasonFinder(layoutView) 70 , m_compositingReasonFinder(layoutView)
71 , m_pendingUpdateType(CompositingUpdateNone) 71 , m_pendingUpdateType(CompositingUpdateNone)
72 , m_hasAcceleratedCompositing(true) 72 , m_hasAcceleratedCompositing(true)
73 , m_compositing(false) 73 , m_compositing(false)
74 , m_rootShouldAlwaysCompositeDirty(true) 74 , m_rootShouldAlwaysCompositeDirty(true)
75 , m_needsUpdateFixedBackground(false) 75 , m_needsUpdateFixedBackground(false)
76 , m_isTrackingPaintInvalidations(layoutView.frameView()->isTrackingPaintInva lidations()) 76 , m_isTrackingPaintInvalidations(false)
77 , m_inOverlayFullscreenVideo(false) 77 , m_inOverlayFullscreenVideo(false)
78 , m_needsUpdateDescendantDependentFlags(false) 78 , m_needsUpdateDescendantDependentFlags(false)
79 , m_rootLayerAttachment(RootLayerUnattached) 79 , m_rootLayerAttachment(RootLayerUnattached)
80 { 80 {
81 updateAcceleratedCompositingSettings(); 81 updateAcceleratedCompositingSettings();
82 } 82 }
83 83
84 DeprecatedPaintLayerCompositor::~DeprecatedPaintLayerCompositor() 84 DeprecatedPaintLayerCompositor::~DeprecatedPaintLayerCompositor()
85 { 85 {
86 ASSERT(m_rootLayerAttachment == RootLayerUnattached); 86 ASSERT(m_rootLayerAttachment == RootLayerUnattached);
(...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 } else if (graphicsLayer == m_scrollLayer.get()) { 1201 } else if (graphicsLayer == m_scrollLayer.get()) {
1202 name = "LocalFrame Scrolling Layer"; 1202 name = "LocalFrame Scrolling Layer";
1203 } else { 1203 } else {
1204 ASSERT_NOT_REACHED(); 1204 ASSERT_NOT_REACHED();
1205 } 1205 }
1206 1206
1207 return name; 1207 return name;
1208 } 1208 }
1209 1209
1210 } // namespace blink 1210 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698