Index: Source/core/loader/IconController.cpp |
diff --git a/Source/core/loader/IconController.cpp b/Source/core/loader/IconController.cpp |
index ed5189e445c51bf6b4438a6f5105cc2aa2205f40..9061432809e8c185bceca23aa293c1fd7dc9936f 100644 |
--- a/Source/core/loader/IconController.cpp |
+++ b/Source/core/loader/IconController.cpp |
@@ -72,7 +72,7 @@ IconURL IconController::iconURL(IconType iconType) const |
IconURLs IconController::urlsForTypes(int iconTypesMask) |
{ |
IconURLs iconURLs; |
- if (m_frame->tree() && m_frame->tree()->parent()) |
+ if (m_frame->tree().parent()) |
return iconURLs; |
if (iconTypesMask & Favicon && !appendToIconURLs(Favicon, &iconURLs)) |