Index: Source/core/loader/TextResourceDecoderBuilder.cpp |
diff --git a/Source/core/loader/TextResourceDecoderBuilder.cpp b/Source/core/loader/TextResourceDecoderBuilder.cpp |
index 9dffcf58e9fbe7522d2b939108a09d92cb5317c3..0076f613656644a2427fa2b6ff18ed842f85317d 100644 |
--- a/Source/core/loader/TextResourceDecoderBuilder.cpp |
+++ b/Source/core/loader/TextResourceDecoderBuilder.cpp |
@@ -69,7 +69,7 @@ inline PassRefPtr<TextResourceDecoder> TextResourceDecoderBuilder::createDecoder |
inline void TextResourceDecoderBuilder::setupEncoding(TextResourceDecoder* decoder, Document* document) |
{ |
Frame* frame = document->frame(); |
- Frame* parentFrame = frame ? frame->tree()->parent() : 0; |
+ Frame* parentFrame = frame ? frame->tree().parent() : 0; |
if (!m_encoding.isEmpty()) |
decoder->setEncoding(m_encoding, m_encodingWasChosenByUser ? TextResourceDecoder::UserChosenEncoding : TextResourceDecoder::EncodingFromHTTPHeader); |