Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(953)

Unified Diff: Source/core/inspector/InspectorCSSAgent.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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())

Powered by Google App Engine
This is Rietveld 408576698