Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 902c46797b8dd1a007ef67fe80f682b318816d09..a20c265b8ae6db1ef8b6debd8b54eb0b5d03a5ea 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -1555,7 +1555,7 @@ Vector<String> Internals::consoleMessageArgumentCounts(Document* document) const |
return result; |
} |
-PassRefPtr<DOMWindow> Internals::openDummyInspectorFrontend(const String& url) |
+PassRefPtrWillBeRawPtr<DOMWindow> Internals::openDummyInspectorFrontend(const String& url) |
{ |
Page* page = contextDocument()->frame()->page(); |
ASSERT(page); |
@@ -2420,6 +2420,7 @@ ScriptPromise Internals::addOneToPromise(ExecutionContext* context, ScriptPromis |
void Internals::trace(Visitor* visitor) |
{ |
+ visitor->trace(m_frontendWindow); |
visitor->trace(m_runtimeFlags); |
visitor->trace(m_profilers); |
} |