| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index 30b25aee9548fa2bdcfbbda3b514e7ec8c6feb3c..b0e8d80358a707cca1bb2024513b6dfbfe34fe65 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -1494,17 +1494,7 @@ String Internals::layerTreeAsText(Document* document, unsigned flags, ExceptionC
|
| return String();
|
| }
|
|
|
| - LayerTreeFlags layerTreeFlags = 0;
|
| - if (flags & LAYER_TREE_INCLUDES_VISIBLE_RECTS)
|
| - layerTreeFlags |= LayerTreeFlagsIncludeVisibleRects;
|
| - if (flags & LAYER_TREE_INCLUDES_TILE_CACHES)
|
| - layerTreeFlags |= LayerTreeFlagsIncludeTileCaches;
|
| - if (flags & LAYER_TREE_INCLUDES_REPAINT_RECTS)
|
| - layerTreeFlags |= LayerTreeFlagsIncludeRepaintRects;
|
| - if (flags & LAYER_TREE_INCLUDES_PAINTING_PHASES)
|
| - layerTreeFlags |= LayerTreeFlagsIncludePaintingPhases;
|
| -
|
| - return document->frame()->layerTreeAsText(layerTreeFlags);
|
| + return document->frame()->layerTreeAsText(flags);
|
| }
|
|
|
| void Internals::setNeedsCompositedScrolling(Element* element, unsigned needsCompositedScrolling, ExceptionCode& ec)
|
|
|