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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementTest.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/dom/custom/CustomElementTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementTest.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementTest.cpp
index 672589aa28db96cfd5aedefc73c337d7f41c5e3a..d414e65044f0dc4548353063040770f24db322db 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementTest.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementTest.cpp
@@ -208,7 +208,7 @@ TEST(CustomElementTest,
// register a definition
std::unique_ptr<DummyPageHolder> holder(DummyPageHolder::create());
CustomElementRegistry* registry =
- holder->frame().localDOMWindow()->customElements();
+ holder->frame().domWindow()->customElements();
NonThrowableExceptionState shouldNotThrow;
{
CEReactionsScope reactions;

Powered by Google App Engine
This is Rietveld 408576698