summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/html/HTMLMetaElement.cpp
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-05-02 18:04:58 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-05-02 18:04:58 (GMT)
commit8f9d65125dc29b83d133fb879bf934bee74720fa (patch)
treeb8ee81cfc343cdb0971dde87a29fddec87547d4c /src/3rdparty/webkit/WebCore/html/HTMLMetaElement.cpp
parentf101d46ccd4795fc672b5b6c9e24151df319d725 (diff)
parent133c95d4e422300305620b5d6bebad65b31f8278 (diff)
downloadQt-8f9d65125dc29b83d133fb879bf934bee74720fa.zip
Qt-8f9d65125dc29b83d133fb879bf934bee74720fa.tar.gz
Qt-8f9d65125dc29b83d133fb879bf934bee74720fa.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-webkit into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-webkit: Updated WebKit to 540ae4ccd25609e1bfe1673195ce126255e36774 Updated WebKit to 2c346f58ae70470d88dcd856bfe59b04a144b65a Updated WebKit to 1a40220a82197023c1b1ac6eff027be6dd3168d3 Updated WebKit to 2992802f35fd47e32bb94a4b1f48cce7ec7fda9d Updated WebKit to 862268aeb7150d3795d05bfc05f661bb5c598a27
Diffstat (limited to 'src/3rdparty/webkit/WebCore/html/HTMLMetaElement.cpp')
-rw-r--r--src/3rdparty/webkit/WebCore/html/HTMLMetaElement.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/WebCore/html/HTMLMetaElement.cpp b/src/3rdparty/webkit/WebCore/html/HTMLMetaElement.cpp
index cf667ca..6c49323 100644
--- a/src/3rdparty/webkit/WebCore/html/HTMLMetaElement.cpp
+++ b/src/3rdparty/webkit/WebCore/html/HTMLMetaElement.cpp
@@ -63,9 +63,15 @@ void HTMLMetaElement::insertedIntoDocument()
void HTMLMetaElement::process()
{
+ if (!inDocument() || m_content.isNull())
+ return;
+
+ if (equalIgnoringCase(name(), "viewport"))
+ document()->processViewport(m_content);
+
// Get the document to process the tag, but only if we're actually part of DOM tree (changing a meta tag while
// it's not in the tree shouldn't have any effect on the document)
- if (inDocument() && !m_equiv.isNull() && !m_content.isNull())
+ if (!m_equiv.isNull())
document()->processHttpEquiv(m_equiv, m_content);
}