Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Unified Diff: third_party/WebKit/Source/core/frame/FrameSerializer.cpp

Issue 1802123002: Unify Resource loading status tracking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698