Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index e6cf59872f4c05426d3870e5c63e2357132f7596..5d0563ef1b51cdbad7511d95d8805b8e562b93d4 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); |