Index: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp |
index 3dd3af1a63e1347d0d5099513a01888b9039cc59..a4578bdecd6e0430371e019c9acabd237af5e90f 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp |
@@ -1030,7 +1030,7 @@ void InspectorCSSAgent::collectPlatformFontsForLayoutObject(LayoutObject* layout |
for (InlineTextBox* box = layoutText->firstTextBox(); box; box = box->nextTextBox()) { |
const ComputedStyle& style = layoutText->styleRef(box->isFirstLineStyle()); |
const Font& font = style.font(); |
- TextRun run = box->constructTextRunForInspector(style, font); |
+ TextRun run = box->constructTextRunForInspector(style); |
TextRunPaintInfo paintInfo(run); |
GlyphBuffer glyphBuffer; |
font.buildGlyphBuffer(paintInfo, glyphBuffer); |