X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Frendering%2Fcompositing%2FGraphicsLayerUpdater.cpp;h=5f8366fc5c4c6bdadf14279e09632f1bea47400f;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=216d772685fe4a30c89cd7090a032753e417e7fe;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp b/src/third_party/WebKit/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp index 216d772..5f8366f 100644 --- a/src/third_party/WebKit/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp +++ b/src/third_party/WebKit/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp @@ -28,6 +28,7 @@ #include "core/rendering/compositing/GraphicsLayerUpdater.h" #include "core/html/HTMLMediaElement.h" +#include "core/inspector/InspectorTraceEvents.h" #include "core/rendering/RenderLayer.h" #include "core/rendering/RenderLayerReflectionInfo.h" #include "core/rendering/RenderPart.h" @@ -98,19 +99,11 @@ void GraphicsLayerUpdater::updateRecursive(RenderLayer& layer, UpdateType update ASSERT(compositingContainer == layer.enclosingLayerWithCompositedLayerMapping(ExcludeSelf)); if (mapping->updateRequiresOwnBackingStoreForAncestorReasons(compositingContainer)) { + TRACE_LAYER_INVALIDATION(&layer, InspectorLayerInvalidationTrackingEvent::AncestorRequiresNewLayer); layersNeedingPaintInvalidation.append(&layer); updateType = ForceUpdate; } - // Note carefully: here we assume that the compositing state of all descendants have been updated already, - // so it is legitimate to compute and cache the composited bounds for this layer. - mapping->updateCompositedBounds(); - - if (RenderLayerReflectionInfo* reflection = layer.reflectionInfo()) { - if (reflection->reflectionLayer()->hasCompositedLayerMapping()) - reflection->reflectionLayer()->compositedLayerMapping()->updateCompositedBounds(); - } - if (mapping->updateGraphicsLayerConfiguration()) m_needsRebuildTree = true;