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

Unified Diff: third_party/WebKit/Source/core/xml/XSLTProcessor.cpp

Issue 2562323002: Devirtualize Frame::domWindow(). (Closed)
Patch Set: Created 4 years 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/xml/XSLTProcessor.cpp
diff --git a/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp b/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp
index b8fb69958ffbc4977358e345177d4d5847157c71..c2aaba3f928403e83c9be3907f8e4335afd2e1e7 100644
--- a/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp
+++ b/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp
@@ -84,8 +84,8 @@ Document* XSLTProcessor::createDocumentFromSource(const String& sourceString,
// Re-create the FrameView if needed.
if (hasView)
frame->loader().client()->transitionToCommittedForNewPage();
- result = frame->localDOMWindow()->installNewDocument(sourceMIMEType, init,
- forceXHTML);
+ result = frame->domWindow()->installNewDocument(sourceMIMEType, init,
+ forceXHTML);
if (oldDocument) {
DocumentXSLT::from(*result).setTransformSourceDocument(oldDocument);

Powered by Google App Engine
This is Rietveld 408576698