| Index: Source/core/inspector/InspectorCSSAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorCSSAgent.cpp b/Source/core/inspector/InspectorCSSAgent.cpp
|
| index 2d252638eebb206d6e80713f0695101a734e60e4..9b7d1a1f241a9f179d288a9afd55aaea4560dfc4 100644
|
| --- a/Source/core/inspector/InspectorCSSAgent.cpp
|
| +++ b/Source/core/inspector/InspectorCSSAgent.cpp
|
| @@ -842,18 +842,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())
|
|
|