Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/FrameSerializer.cpp |
| diff --git a/third_party/WebKit/Source/core/frame/FrameSerializer.cpp b/third_party/WebKit/Source/core/frame/FrameSerializer.cpp |
| index cdf2469adc597080decb393ed9728546a116ed78..0bd10178da2d529ca3af4447b2d8deafe2ca7ae5 100644 |
| --- a/third_party/WebKit/Source/core/frame/FrameSerializer.cpp |
| +++ b/third_party/WebKit/Source/core/frame/FrameSerializer.cpp |
| @@ -412,7 +412,7 @@ void FrameSerializer::addImageToResources(ImageResource* image, const KURL& url) |
| void FrameSerializer::addFontToResources(FontResource* font) |
| { |
| - if (!font || !font->isLoaded() || !font->resourceBuffer() || !shouldAddURL(font->url())) |
| + if (!font || font->isLoading() || !font->resourceBuffer() || !shouldAddURL(font->url())) |
|
hiroshige
2016/03/18 23:21:20
What is the intention to this change?
I feel |!fon
Nate Chapin
2016/03/21 22:04:01
This was a failed attempt at fixing some unit test
|
| return; |
| RefPtr<SharedBuffer> data(font->resourceBuffer()); |