| Index: Source/core/inspector/InspectorCSSAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorCSSAgent.cpp b/Source/core/inspector/InspectorCSSAgent.cpp
|
| index d588b7149e4f0a6937d6f011ce964dd30f5fd00b..73f0ab8fd500f9e3769fdfab5ca3f0e90076552f 100644
|
| --- a/Source/core/inspector/InspectorCSSAgent.cpp
|
| +++ b/Source/core/inspector/InspectorCSSAgent.cpp
|
| @@ -708,7 +708,7 @@ void InspectorCSSAgent::getComputedStyleForNode(ErrorString* errorString, int no
|
| void InspectorCSSAgent::collectPlatformFontsForRenderer(RenderText* renderer, HashCountedSet<String>* fontStats)
|
| {
|
| for (InlineTextBox* box = renderer->firstTextBox(); box; box = box->nextTextBox()) {
|
| - RenderStyle* style = renderer->style(box->isFirstLineStyle());
|
| + RenderStyle* style = renderer->styleOrFirstLineStyle(box->isFirstLineStyle());
|
| const Font& font = style->font();
|
| TextRun run = box->constructTextRunForInspector(style, font);
|
| WidthIterator it(&font, run, 0, false);
|
|
|