Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2993)

Unified Diff: Source/core/xml/WindowXSLT.cpp

Issue 703193004: XSLT-in-PrivateScript (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/xml/WindowXSLT.cpp
diff --git a/Source/core/xml/WindowXSLT.cpp b/Source/core/xml/WindowXSLT.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..c9c70d21e5affd6a10d91cdf15e0f0ef5692093c
--- /dev/null
+++ b/Source/core/xml/WindowXSLT.cpp
@@ -0,0 +1,17 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "config.h"
+#include "core/xml/WindowXSLT.h"
+
+#include "core/frame/LocalDOMWindow.h"
+
+namespace blink {
+
+void WindowXSLT::replaceDocument(LocalDOMWindow& window, String documentSource, String contentType, String encodingName)
+{
+ window.replaceDocument(documentSource, contentType, encodingName);
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698