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

Unified Diff: Source/core/testing/PrivateScriptTest.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/testing/PrivateScriptTest.h ('k') | Source/core/testing/PrivateScriptTestTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/PrivateScriptTest.cpp
diff --git a/Source/core/testing/PrivateScriptTest.cpp b/Source/core/testing/PrivateScriptTest.cpp
index 09bd0670081f4a4004860f350819f7697717221a..a8e1490a813203b3bba3b8178ee39f0a635c6f2f 100644
--- a/Source/core/testing/PrivateScriptTest.cpp
+++ b/Source/core/testing/PrivateScriptTest.cpp
@@ -6,14 +6,14 @@
#include "core/testing/PrivateScriptTest.h"
#include "bindings/core/v8/PrivateScriptRunner.h"
-#include "core/frame/LocalFrame.h"
+#include "core/dom/Document.h"
#include <v8.h>
namespace blink {
-PrivateScriptTest::PrivateScriptTest(LocalFrame* frame)
+PrivateScriptTest::PrivateScriptTest(Document* document)
{
- v8::Handle<v8::Value> classObject = PrivateScriptRunner::installClassIfNeeded(frame, "PrivateScriptTest");
+ v8::Handle<v8::Value> classObject = PrivateScriptRunner::installClassIfNeeded(document, "PrivateScriptTest");
RELEASE_ASSERT(!classObject.IsEmpty());
}
« no previous file with comments | « Source/core/testing/PrivateScriptTest.h ('k') | Source/core/testing/PrivateScriptTestTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698