Chromium Code Reviews| Index: third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp |
| diff --git a/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp b/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp |
| index c8394ee7729f5ae48168c9735d0299de379ffc21..afdc4cf915125acd21ea2842dce0a7e4d52456f3 100644 |
| --- a/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp |
| +++ b/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp |
| @@ -24,7 +24,7 @@ void transformDocumentToXMLTreeView(Document& document) { |
| v8::HandleScope handleScope(V8PerIsolateData::mainThreadIsolate()); |
| document.frame()->script().executeScriptInIsolatedWorld( |
| - WorldIdConstants::DocumentXMLTreeViewerWorldId, sources, nullptr); |
| + DOMWrapperWorld::DocumentXMLTreeViewerWorldId, sources, nullptr); |
|
Yuki
2017/03/08 14:07:51
Should DocumentXMLTreeViewerWorldId be also a new
nhiroki
2017/03/09 03:40:29
This is a part of IsolatedWorlds and doesn't need
|
| Element* element = document.getElementById("xml-viewer-style"); |
| if (element) { |