summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/dom
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom')
-rw-r--r--Source/WebCore/dom/Document.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp
index c8bf374..d85a949 100644
--- a/Source/WebCore/dom/Document.cpp
+++ b/Source/WebCore/dom/Document.cpp
@@ -5070,7 +5070,13 @@ DocumentLoader* Document::loader() const
if (!loader)
return 0;
- if (m_frame->document() != this)
+#if PLATFORM(ANDROID)
+ // Temporary hack for http://b/5188895
+ bool isDocumentUpToDate = m_frame->isDocumentUpToDate();
+#else
+ bool isDocumentUpToDate = true;
+#endif
+ if (isDocumentUpToDate && m_frame->document() != this)
return 0;
return loader;