Index: Source/core/xml/XMLTreeViewer.cpp |
diff --git a/Source/core/xml/XMLTreeViewer.cpp b/Source/core/xml/XMLTreeViewer.cpp |
index d7a1f7bc39a99d1985a67f00d5334976bfa9623e..287f32d2054c7273abd72dde435ece0ece09bfa9 100644 |
--- a/Source/core/xml/XMLTreeViewer.cpp |
+++ b/Source/core/xml/XMLTreeViewer.cpp |
@@ -52,9 +52,9 @@ void XMLTreeViewer::transformDocumentToTreeView() |
{ |
m_document->setIsViewSource(true); |
String scriptString(reinterpret_cast<const char*>(XMLViewer_js), sizeof(XMLViewer_js)); |
- m_document->frame()->script()->executeScriptInMainWorld(scriptString, ScriptController::ExecuteScriptWhenScriptsDisabled); |
+ m_document->frame()->script().executeScriptInMainWorld(scriptString, ScriptController::ExecuteScriptWhenScriptsDisabled); |
String noStyleMessage("This XML file does not appear to have any style information associated with it. The document tree is shown below."); |
- m_document->frame()->script()->executeScriptInMainWorld("prepareWebKitXMLViewer('" + noStyleMessage + "');", ScriptController::ExecuteScriptWhenScriptsDisabled); |
+ m_document->frame()->script().executeScriptInMainWorld("prepareWebKitXMLViewer('" + noStyleMessage + "');", ScriptController::ExecuteScriptWhenScriptsDisabled); |
String cssString(reinterpret_cast<const char*>(XMLViewer_css), sizeof(XMLViewer_css)); |
RefPtr<Text> text = m_document->createTextNode(cssString); |