Index: Source/core/inspector/InspectorCSSAgent.cpp |
diff --git a/Source/core/inspector/InspectorCSSAgent.cpp b/Source/core/inspector/InspectorCSSAgent.cpp |
index 57cd185a63da929782d65529c5846f7805c039f2..ac13b65716ca2aa179b638942c38b775b142b2a2 100644 |
--- a/Source/core/inspector/InspectorCSSAgent.cpp |
+++ b/Source/core/inspector/InspectorCSSAgent.cpp |
@@ -800,7 +800,7 @@ void InspectorCSSAgent::getComputedStyleForNode(ErrorString* errorString, int no |
void InspectorCSSAgent::collectPlatformFontsForRenderer(LayoutText* renderer, HashCountedSet<String>* fontStats) |
{ |
for (InlineTextBox* box = renderer->firstTextBox(); box; box = box->nextTextBox()) { |
- const LayoutStyle& style = renderer->styleRef(box->isFirstLineStyle()); |
+ const ComputedStyle& style = renderer->styleRef(box->isFirstLineStyle()); |
const Font& font = style.font(); |
TextRun run = box->constructTextRunForInspector(style, font); |
SimpleShaper shaper(&font, run); |