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

Unified Diff: Source/core/layout/compositing/LayerCompositor.cpp

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/layout/compositing/LayerCompositor.cpp
diff --git a/Source/core/layout/compositing/LayerCompositor.cpp b/Source/core/layout/compositing/LayerCompositor.cpp
index dd6b6ce620f52dfcb7289f707d331a509854b29c..e9c604f5342301648733e4f7c31f222bdb41ba51 100644
--- a/Source/core/layout/compositing/LayerCompositor.cpp
+++ b/Source/core/layout/compositing/LayerCompositor.cpp
@@ -178,7 +178,7 @@ static RenderVideo* findFullscreenVideoRenderer(Document& document)
fullscreenElement = Fullscreen::currentFullScreenElementFrom(*contentDocument);
if (!isHTMLVideoElement(fullscreenElement))
return 0;
- RenderObject* renderer = fullscreenElement->renderer();
+ LayoutObject* renderer = fullscreenElement->renderer();
if (!renderer)
return 0;
return toRenderVideo(renderer);
@@ -303,7 +303,7 @@ void LayerCompositor::updateWithoutAcceleratedCompositing(CompositingUpdateType
#endif
}
-static void forceRecomputePaintInvalidationRectsIncludingNonCompositingDescendants(RenderObject* renderer)
+static void forceRecomputePaintInvalidationRectsIncludingNonCompositingDescendants(LayoutObject* renderer)
{
// We clear the previous paint invalidation rect as it's wrong (paint invaliation container
// changed, ...). Forcing a full invalidation will make us recompute it. Also we are not
@@ -312,7 +312,7 @@ static void forceRecomputePaintInvalidationRectsIncludingNonCompositingDescendan
renderer->setPreviousPaintInvalidationRect(LayoutRect());
renderer->setShouldDoFullPaintInvalidation();
- for (RenderObject* child = renderer->slowFirstChild(); child; child = child->nextSibling()) {
+ for (LayoutObject* child = renderer->slowFirstChild(); child; child = child->nextSibling()) {
if (!child->isPaintInvalidationContainer())
forceRecomputePaintInvalidationRectsIncludingNonCompositingDescendants(child);
}
« no previous file with comments | « Source/core/layout/compositing/CompositingReasonFinder.cpp ('k') | Source/core/layout/line/BreakingContextInlineHeaders.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698