Index: Source/core/inspector/InspectorCSSAgent.cpp |
diff --git a/Source/core/inspector/InspectorCSSAgent.cpp b/Source/core/inspector/InspectorCSSAgent.cpp |
index 1265178c970b775bd6eb92c962e580af070d4a74..2a470c04089adc1567701d112eebc22e0585d49f 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(RenderText* renderer, HashCountedSet<String>* fontStats) |
{ |
for (InlineTextBox* box = renderer->firstTextBox(); box; box = box->nextTextBox()) { |
- RenderStyle* style = renderer->style(box->isFirstLineStyle()); |
+ const RenderStyle* style = renderer->style(box->isFirstLineStyle()); |
const Font& font = style->font(); |
TextRun run = box->constructTextRunForInspector(style, font); |
SimpleShaper shaper(&font, run); |