Index: third_party/WebKit/Source/core/html/LinkStyle.cpp |
diff --git a/third_party/WebKit/Source/core/html/LinkStyle.cpp b/third_party/WebKit/Source/core/html/LinkStyle.cpp |
index 37ae8541c209c0802f85dfbae948e2f06e370829..7da54755a5d50a5a4e7e270ac08fa4a1595544e0 100644 |
--- a/third_party/WebKit/Source/core/html/LinkStyle.cpp |
+++ b/third_party/WebKit/Source/core/html/LinkStyle.cpp |
@@ -402,11 +402,11 @@ void LinkStyle::SetSheetTitle(const String& title) { |
} |
void LinkStyle::OwnerRemoved() { |
- if (sheet_) |
- ClearSheet(); |
- |
if (StyleSheetIsLoading()) |
RemovePendingSheet(); |
+ |
+ if (sheet_) |
+ ClearSheet(); |
} |
DEFINE_TRACE(LinkStyle) { |