Index: Source/core/inspector/InspectorCSSAgent.cpp |
diff --git a/Source/core/inspector/InspectorCSSAgent.cpp b/Source/core/inspector/InspectorCSSAgent.cpp |
index b870e6b19f28115b79442f316730fe6b92001500..1a58983f1cafbdef2075384ee83fb5b939306823 100644 |
--- a/Source/core/inspector/InspectorCSSAgent.cpp |
+++ b/Source/core/inspector/InspectorCSSAgent.cpp |
@@ -780,7 +780,7 @@ void InspectorCSSAgent::getPlatformFontsForNode(ErrorString* errorString, int no |
if (renderer->isTextFragment()) { |
RenderTextFragment* textFragment = toRenderTextFragment(renderer); |
if (textFragment->firstLetter()) { |
- RenderObject* firstLetter = textFragment->firstLetter(); |
+ RenderBoxModelObject* firstLetter = textFragment->firstLetter(); |
for (RenderObject* current = firstLetter->slowFirstChild(); current; current = current->nextSibling()) { |
if (current->isText()) |
collectPlatformFontsForRenderer(toRenderText(current), &fontStats); |