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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/imagebitmap/ImageBitmapFactories.cpp ('k') | Source/core/inspector/InspectorDOMAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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())
« no previous file with comments | « Source/core/imagebitmap/ImageBitmapFactories.cpp ('k') | Source/core/inspector/InspectorDOMAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698