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

Unified Diff: Source/core/loader/IconController.cpp

Issue 33353003: Have Frame::tree() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 2 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
« no previous file with comments | « Source/core/loader/HistoryController.cpp ('k') | Source/core/loader/NavigationScheduler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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))
« no previous file with comments | « Source/core/loader/HistoryController.cpp ('k') | Source/core/loader/NavigationScheduler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698