Index: content/browser/renderer_host/render_message_filter.cc |
diff --git a/content/browser/renderer_host/render_message_filter.cc b/content/browser/renderer_host/render_message_filter.cc |
index 16a20be38de13a360b05002243e3259ea5d8fa7d..1cc7ec951c5a661707b495718a75818e8509db04 100644 |
--- a/content/browser/renderer_host/render_message_filter.cc |
+++ b/content/browser/renderer_host/render_message_filter.cc |
@@ -558,7 +558,7 @@ void RenderMessageFilter::OnLoadFont(const FontDescriptor& font, |
base::SharedMemoryHandle* handle) { |
base::SharedMemory font_data; |
uint32 font_data_size = 0; |
- bool ok = FontLoader::LoadFontIntoBuffer(font.nsFont(), &font_data, |
+ bool ok = FontLoader::LoadFontIntoBuffer(font.ToNSFont(), &font_data, |
&font_data_size); |
if (!ok || font_data_size == 0) { |
LOG(ERROR) << "Couldn't load font data for " << font.font_name << |