のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

incomplete type

external/chromium_org/third_party/WebKit/Source/core/platform/graphics/FontFallbackList.cpp:59:46:
 error: invalid use of incomplete type 'const class WebCore::Font'

ヘッダーファイルを読み込むだけで治った。

#include "core/platform/graphics/Font.h"

LOG("FontFallbackList family=%s", f->family().family().string().utf8().data());