Index: Source/core/page/Settings.cpp |
diff --git a/Source/core/page/Settings.cpp b/Source/core/page/Settings.cpp |
index 479a0a515f1d9fe345ae90c1e5f14b7f6aba2877..3bde44c93c2bbe2bbf28ffc5af339883aee439f3 100644 |
--- a/Source/core/page/Settings.cpp |
+++ b/Source/core/page/Settings.cpp |
@@ -44,7 +44,7 @@ namespace WebCore { |
static void setImageLoadingSettings(Page* page) |
{ |
- for (Frame* frame = page->mainFrame(); frame; frame = frame->tree()->traverseNext()) { |
+ for (Frame* frame = page->mainFrame(); frame; frame = frame->tree().traverseNext()) { |
frame->document()->fetcher()->setImagesEnabled(page->settings().areImagesEnabled()); |
frame->document()->fetcher()->setAutoLoadImages(page->settings().loadsImagesAutomatically()); |
} |
@@ -263,7 +263,7 @@ void Settings::setTextAutosizingFontScaleFactor(float fontScaleFactor) |
m_textAutosizingFontScaleFactor = fontScaleFactor; |
// FIXME: I wonder if this needs to traverse frames like in WebViewImpl::resize, or whether there is only one document per Settings instance? |
- for (Frame* frame = m_page->mainFrame(); frame; frame = frame->tree()->traverseNext()) |
+ for (Frame* frame = m_page->mainFrame(); frame; frame = frame->tree().traverseNext()) |
frame->document()->textAutosizer()->recalculateMultipliers(); |
m_page->setNeedsRecalcStyleInAllFrames(); |