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

Unified Diff: Source/core/testing/PrivateScriptTest.h

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/testing/Internals.cpp ('k') | Source/core/testing/PrivateScriptTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/PrivateScriptTest.h
diff --git a/Source/core/testing/PrivateScriptTest.h b/Source/core/testing/PrivateScriptTest.h
index e7c40f904ff5e06ce617a012061580c4e2ed9e1c..cb0c6387dff7b3b342ba774ed54b7e2d0368a4f7 100644
--- a/Source/core/testing/PrivateScriptTest.h
+++ b/Source/core/testing/PrivateScriptTest.h
@@ -12,14 +12,14 @@
namespace blink {
-class LocalFrame;
+class Document;
class PrivateScriptTest : public GarbageCollectedFinalized<PrivateScriptTest>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static PrivateScriptTest* create(LocalFrame* frame)
+ static PrivateScriptTest* create(Document* document)
{
- return new PrivateScriptTest(frame);
+ return new PrivateScriptTest(document);
}
int addIntegerImplementedInCPPForPrivateScriptOnly(int value1, int value2);
@@ -29,7 +29,7 @@ public:
void trace(Visitor*) { }
private:
- explicit PrivateScriptTest(LocalFrame*);
+ explicit PrivateScriptTest(Document*);
String m_stringAttributeImplementedInCPPForPrivateSriptOnly;
};
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Source/core/testing/PrivateScriptTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698