Index: third_party/WebKit/Source/web/PopupMenuImpl.cpp |
diff --git a/third_party/WebKit/Source/web/PopupMenuImpl.cpp b/third_party/WebKit/Source/web/PopupMenuImpl.cpp |
index 20552044901cafd0e5336b19c71a04cb7eb4bb47..e01f0fc0516ecc05efdcfd55bea934500e0ded58 100644 |
--- a/third_party/WebKit/Source/web/PopupMenuImpl.cpp |
+++ b/third_party/WebKit/Source/web/PopupMenuImpl.cpp |
@@ -193,7 +193,7 @@ public: |
PagePopupClient::addString("fontFamily: [", m_buffer); |
for (const FontFamily* f = &baseFont().family(); f; f = f->next()) { |
- addJavaScriptString(f->family().string(), m_buffer); |
+ addJavaScriptString(f->family().getString(), m_buffer); |
if (f->next()) |
PagePopupClient::addString(",", m_buffer); |
} |
@@ -337,7 +337,7 @@ void PopupMenuImpl::addElementStyle(ItemIterationContext& context, HTMLElement& |
if (baseFont.family() != fontDescription.family()) { |
PagePopupClient::addString("fontFamily: [\n", data); |
for (const FontFamily* f = &fontDescription.family(); f; f = f->next()) { |
- addJavaScriptString(f->family().string(), data); |
+ addJavaScriptString(f->family().getString(), data); |
if (f->next()) |
PagePopupClient::addString(",\n", data); |
} |