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

Unified Diff: Source/bindings/core/v8/PrivateScriptRunner.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
Index: Source/bindings/core/v8/PrivateScriptRunner.h
diff --git a/Source/bindings/core/v8/PrivateScriptRunner.h b/Source/bindings/core/v8/PrivateScriptRunner.h
index b39b16a5df29ad0de99fa9fe988bf22871444ee2..9469b4ebeed5b11ab46a97c751cf6178823ef394 100644
--- a/Source/bindings/core/v8/PrivateScriptRunner.h
+++ b/Source/bindings/core/v8/PrivateScriptRunner.h
@@ -11,12 +11,12 @@
namespace blink {
-class LocalFrame;
+class Document;
class ScriptState;
class PrivateScriptRunner {
public:
- static v8::Handle<v8::Value> installClassIfNeeded(LocalFrame*, String className);
+ static v8::Handle<v8::Value> installClassIfNeeded(Document*, String className);
static v8::Handle<v8::Value> runDOMAttributeGetter(ScriptState*, ScriptState* scriptStateInUserScript, const char* className, const char* attributeName, v8::Handle<v8::Value> holder);
static bool runDOMAttributeSetter(ScriptState*, ScriptState* scriptStateInUserScript, const char* className, const char* attributeName, v8::Handle<v8::Value> holder, v8::Handle<v8::Value> v8Value);
static v8::Handle<v8::Value> runDOMMethod(ScriptState*, ScriptState* scriptStateInUserScript, const char* className, const char* methodName, v8::Handle<v8::Value> holder, int argc, v8::Handle<v8::Value> argv[]);
« no previous file with comments | « LayoutTests/fast/html/marquee-inside-template-tag-crash-expected.txt ('k') | Source/bindings/core/v8/PrivateScriptRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698