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

Unified Diff: Source/core/testing/Internals.cpp

Issue 654583003: Use the Document rather than the Frame's execution context to install JS-based marquee elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 2 months 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
« no previous file with comments | « Source/core/html/HTMLMarqueeElement.cpp ('k') | Source/core/testing/PrivateScriptTest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index b98434a4f89d5d3944e552b9fe5c4b9236ed41e7..e19d9760cc677c4d6dc3ccc709a031ca86b1d7e4 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -1794,7 +1794,7 @@ TypeConversions* Internals::typeConversions() const
PrivateScriptTest* Internals::privateScriptTest() const
{
- return PrivateScriptTest::create(frame());
+ return PrivateScriptTest::create(frame()->document());
}
DictionaryTest* Internals::dictionaryTest() const
« no previous file with comments | « Source/core/html/HTMLMarqueeElement.cpp ('k') | Source/core/testing/PrivateScriptTest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698