| Index: Source/core/inspector/InspectorCSSAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorCSSAgent.cpp b/Source/core/inspector/InspectorCSSAgent.cpp
|
| index dfe87fcc090ceb76329e9b949f7a5c613845bdfc..3f8327b4c51e3d28e737d13ee0c1438d49b1f556 100644
|
| --- a/Source/core/inspector/InspectorCSSAgent.cpp
|
| +++ b/Source/core/inspector/InspectorCSSAgent.cpp
|
| @@ -840,18 +840,18 @@ void InspectorCSSAgent::getPlatformFontsForNode(ErrorString* errorString, int no
|
|
|
| WillBeHeapVector<RawPtrWillBeMember<Text> > textNodes;
|
| if (node->nodeType() == Node::TEXT_NODE) {
|
| - if (node->renderer())
|
| + if (node->layoutObject())
|
| textNodes.append(toText(node));
|
| } else {
|
| for (Node* child = node->firstChild(); child; child = child->nextSibling()) {
|
| - if (child->nodeType() == Node::TEXT_NODE && child->renderer())
|
| + if (child->nodeType() == Node::TEXT_NODE && child->layoutObject())
|
| textNodes.append(toText(child));
|
| }
|
| }
|
|
|
| HashCountedSet<String> fontStats;
|
| for (size_t i = 0; i < textNodes.size(); ++i) {
|
| - LayoutText* renderer = textNodes[i]->renderer();
|
| + LayoutText* renderer = textNodes[i]->layoutObject();
|
| collectPlatformFontsForRenderer(renderer, &fontStats);
|
|
|
| if (!renderer->isTextFragment())
|
|
|