diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-09-13 12:51:20 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-19 20:50:05 +0200 |
commit | d441d6f39bb846989d95bcf5caf387b42414718d (patch) | |
tree | e367e64a75991c554930278175d403c072de6bb8 /Source/WebCore/html/HTMLFrameOwnerElement.h | |
parent | 0060b2994c07842f4c59de64b5e3e430525c4b90 (diff) | |
download | qtwebkit-d441d6f39bb846989d95bcf5caf387b42414718d.tar.gz |
Import Qt5x2 branch of QtWebkit for Qt 5.2
Importing a new snapshot of webkit.
Change-Id: I2d01ad12cdc8af8cb015387641120a9d7ea5f10c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Diffstat (limited to 'Source/WebCore/html/HTMLFrameOwnerElement.h')
-rw-r--r-- | Source/WebCore/html/HTMLFrameOwnerElement.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/WebCore/html/HTMLFrameOwnerElement.h b/Source/WebCore/html/HTMLFrameOwnerElement.h index 15383aeee..25e5dc497 100644 --- a/Source/WebCore/html/HTMLFrameOwnerElement.h +++ b/Source/WebCore/html/HTMLFrameOwnerElement.h @@ -21,7 +21,6 @@ #ifndef HTMLFrameOwnerElement_h #define HTMLFrameOwnerElement_h -#include "FrameLoaderTypes.h" #include "HTMLElement.h" namespace WebCore { @@ -43,7 +42,7 @@ public: Document* contentDocument() const; void setContentFrame(Frame*); - void clearContentFrame() { m_contentFrame = 0; } + void clearContentFrame(); void disconnectContentFrame(); @@ -65,7 +64,7 @@ protected: void setSandboxFlags(SandboxFlags); private: - virtual bool isKeyboardFocusable(KeyboardEvent*) const; + virtual bool isKeyboardFocusable(KeyboardEvent*) const OVERRIDE; virtual bool isFrameOwnerElement() const OVERRIDE { return true; } Frame* m_contentFrame; @@ -74,7 +73,7 @@ private: inline HTMLFrameOwnerElement* toFrameOwnerElement(Node* node) { - ASSERT(!node || node->isFrameOwnerElement()); + ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isFrameOwnerElement()); return static_cast<HTMLFrameOwnerElement*>(node); } @@ -93,7 +92,7 @@ public: static bool canLoadFrame(HTMLFrameOwnerElement* owner) { - for (Node* node = owner; node; node = node->parentOrHostNode()) { + for (Node* node = owner; node; node = node->parentOrShadowHostNode()) { if (disabledSubtreeRoots().contains(node)) return false; } |