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

Unified Diff: sky/engine/bindings/core/v8/V8ScriptRunner.cpp

Issue 754463004: Remove ScriptPreprocessor (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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 | « sky/engine/bindings/core/v8/V8ScriptRunner.h ('k') | sky/engine/v8_inspector/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/bindings/core/v8/V8ScriptRunner.cpp
diff --git a/sky/engine/bindings/core/v8/V8ScriptRunner.cpp b/sky/engine/bindings/core/v8/V8ScriptRunner.cpp
index 046c0bba4219a6943385160d006f730d1896581c..ad617b48b3a70f34e2e1a00b655cf89901beabcd 100644
--- a/sky/engine/bindings/core/v8/V8ScriptRunner.cpp
+++ b/sky/engine/bindings/core/v8/V8ScriptRunner.cpp
@@ -152,17 +152,6 @@ v8::Local<v8::Value> V8ScriptRunner::callInternalFunction(v8::Handle<v8::Functio
return result;
}
-v8::Local<v8::Value> V8ScriptRunner::callAsFunction(v8::Isolate* isolate, v8::Handle<v8::Object> object, v8::Handle<v8::Value> receiver, int argc, v8::Handle<v8::Value> args[])
-{
- TRACE_EVENT0("v8", "v8.callFunction");
- TRACE_EVENT_SCOPED_SAMPLING_STATE("v8", "V8Execution");
-
- V8RecursionScope::MicrotaskSuppression recursionScope(isolate);
- v8::Local<v8::Value> result = object->CallAsFunction(receiver, argc, args);
- crashIfV8IsDead();
- return result;
-}
-
v8::Local<v8::Object> V8ScriptRunner::instantiateObject(v8::Isolate* isolate, v8::Handle<v8::ObjectTemplate> objectTemplate)
{
TRACE_EVENT0("v8", "v8.newInstance");
« no previous file with comments | « sky/engine/bindings/core/v8/V8ScriptRunner.h ('k') | sky/engine/v8_inspector/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698