Index: third_party/WebKit/Source/core/testing/Internals.cpp |
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp |
index 20d5a455ef40219487ada936fd63ceec9fa900e9..18eb9afe5fdc9fe3d48c20bcc64f86d2e51a8670 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.cpp |
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
@@ -1720,6 +1720,11 @@ String Internals::elementLayerTreeAsText(Element* element, unsigned flags, Excep |
return layer->compositedLayerMapping()->mainGraphicsLayer()->layerTreeAsText(flags); |
} |
+bool Internals::isStackingContext(Element* element) const |
+{ |
+ return element->layoutObject()->style()->isStackingContext(); |
+} |
+ |
String Internals::scrollingStateTreeAsText(Document*) const |
{ |
return String(); |