Index: third_party/WebKit/Source/core/fetch/DocumentResource.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/DocumentResource.cpp b/third_party/WebKit/Source/core/fetch/DocumentResource.cpp |
index f6b8b51e664bc1c2c67dc98fb619f533dc3d4a75..a532fdb0a17f283b4ce3cc4a18938d93847a870b 100644 |
--- a/third_party/WebKit/Source/core/fetch/DocumentResource.cpp |
+++ b/third_party/WebKit/Source/core/fetch/DocumentResource.cpp |
@@ -56,7 +56,7 @@ DEFINE_TRACE(DocumentResource) |
void DocumentResource::checkNotify() |
{ |
- if (m_data && mimeTypeAllowed()) { |
+ if (data() && mimeTypeAllowed()) { |
// We don't need to create a new frame because the new document belongs to the parent UseElement. |
m_document = createDocument(response().url()); |
m_document->setContent(decodedText()); |