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

Unified Diff: third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp

Issue 2972273002: DevTools: Page.setDocumentContent without using DOMPatchSupport (Closed)
Patch Set: Created 3 years, 5 months 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: third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp
diff --git a/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp b/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp
index afb5e8c6bfc0fe32e38d2d027e79fc3adf223797..c4068975bff05f68cdd253c04977897ceb3a7e2e 100644
--- a/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp
+++ b/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp
@@ -56,13 +56,6 @@
namespace blink {
-void DOMPatchSupport::PatchDocument(Document& document, const String& markup) {
- InspectorHistory history;
- DOMEditor dom_editor(&history);
- DOMPatchSupport patch_support(&dom_editor, document);
- patch_support.PatchDocument(markup);
-}
-
DOMPatchSupport::DOMPatchSupport(DOMEditor* dom_editor, Document& document)
: dom_editor_(dom_editor), document_(document) {}

Powered by Google App Engine
This is Rietveld 408576698