Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index b052ed726f259bcd1677e81f63d0948ac1b6407a..1595d68a54e1a239addd00aa4edc359698eb2d8a 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -1224,6 +1224,13 @@ void WebLocalFrameImpl::extendSelectionAndDelete(int before, int after) |
frame()->inputMethodController().extendSelectionAndDelete(before, after); |
} |
+void WebLocalFrameImpl::navigateToSandboxedMarkup(const WebData& markup) |
+{ |
+ ASSERT(document().securityOrigin().isUnique()); |
+ frame()->loader().forceSandboxFlags(SandboxAll); |
+ loadHTMLString(markup, document().url(), WebURL(), true); |
+} |
+ |
void WebLocalFrameImpl::setCaretVisible(bool visible) |
{ |
frame()->selection().setCaretVisible(visible); |