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

Unified Diff: third_party/WebKit/Source/core/html/ImageDocumentTest.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/html/ImageDocumentTest.cpp
diff --git a/third_party/WebKit/Source/core/html/ImageDocumentTest.cpp b/third_party/WebKit/Source/core/html/ImageDocumentTest.cpp
index 9873d8db82f09471c74d4b5c8671c79ff86caa53..28b344e0616a10e82a6a15261ac6fd75f78d441b 100644
--- a/third_party/WebKit/Source/core/html/ImageDocumentTest.cpp
+++ b/third_party/WebKit/Source/core/html/ImageDocumentTest.cpp
@@ -98,7 +98,7 @@ void ImageDocumentTest::createDocumentWithoutLoadingImage(int viewWidth,
LocalFrame& frame = m_dummyPageHolder->frame();
frame.document()->shutdown();
DocumentInit init(KURL(), &frame);
- frame.localDOMWindow()->installNewDocument("image/jpeg", init);
+ frame.domWindow()->installNewDocument("image/jpeg", init);
}
void ImageDocumentTest::createDocument(int viewWidth, int viewHeight) {

Powered by Google App Engine
This is Rietveld 408576698