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

Side by Side Diff: Source/core/rendering/compositing/RenderLayerCompositor.cpp

Issue 310543002: Remove RenderLayer::m_hasUnclippedDescendant (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo Created 6 years, 6 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/rendering/RenderLayer.cpp ('k') | no next file » | 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 if (!m_needsUpdateCompositingRequirementsState) 233 if (!m_needsUpdateCompositingRequirementsState)
234 return; 234 return;
235 235
236 TRACE_EVENT0("blink_rendering,comp-scroll", "RenderLayerCompositor::updateCo mpositingRequirementsState"); 236 TRACE_EVENT0("blink_rendering,comp-scroll", "RenderLayerCompositor::updateCo mpositingRequirementsState");
237 237
238 m_needsUpdateCompositingRequirementsState = false; 238 m_needsUpdateCompositingRequirementsState = false;
239 if (!rootRenderLayer() || !acceleratedCompositingForOverflowScrollEnabled()) 239 if (!rootRenderLayer() || !acceleratedCompositingForOverflowScrollEnabled())
240 return; 240 return;
241 241
242 for (HashSet<RenderLayer*>::iterator it = m_outOfFlowPositionedLayers.begin( ); it != m_outOfFlowPositionedLayers.end(); ++it) 242 for (HashSet<RenderLayer*>::iterator it = m_outOfFlowPositionedLayers.begin( ); it != m_outOfFlowPositionedLayers.end(); ++it)
243 (*it)->updateHasUnclippedDescendant(); 243 (*it)->updateIsUnclippedDescendant();
244 } 244 }
245 245
246 static RenderVideo* findFullscreenVideoRenderer(Document& document) 246 static RenderVideo* findFullscreenVideoRenderer(Document& document)
247 { 247 {
248 Element* fullscreenElement = FullscreenElementStack::fullscreenElementFrom(d ocument); 248 Element* fullscreenElement = FullscreenElementStack::fullscreenElementFrom(d ocument);
249 while (fullscreenElement && fullscreenElement->isFrameOwnerElement()) { 249 while (fullscreenElement && fullscreenElement->isFrameOwnerElement()) {
250 Document* contentDocument = toHTMLFrameOwnerElement(fullscreenElement)-> contentDocument(); 250 Document* contentDocument = toHTMLFrameOwnerElement(fullscreenElement)-> contentDocument();
251 if (!contentDocument) 251 if (!contentDocument)
252 return 0; 252 return 0;
253 fullscreenElement = FullscreenElementStack::fullscreenElementFrom(*conte ntDocument); 253 fullscreenElement = FullscreenElementStack::fullscreenElementFrom(*conte ntDocument);
(...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after
1418 } else if (graphicsLayer == m_scrollLayer.get()) { 1418 } else if (graphicsLayer == m_scrollLayer.get()) {
1419 name = "LocalFrame Scrolling Layer"; 1419 name = "LocalFrame Scrolling Layer";
1420 } else { 1420 } else {
1421 ASSERT_NOT_REACHED(); 1421 ASSERT_NOT_REACHED();
1422 } 1422 }
1423 1423
1424 return name; 1424 return name;
1425 } 1425 }
1426 1426
1427 } // namespace WebCore 1427 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698