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

Unified Diff: Source/bindings/v8/V8Binding.cpp

Issue 13799007: Support for selective DOM activity logging, based on IDL attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed bindings tests output, temporarily, to work around diff difficulty. Created 7 years, 8 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/bindings/v8/V8Binding.h ('k') | Source/bindings/v8/V8PerContextData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8Binding.cpp
diff --git a/Source/bindings/v8/V8Binding.cpp b/Source/bindings/v8/V8Binding.cpp
index 610571129117f8637856b770a19ce67d05a1f34e..15317d20b343af7f5d3dbcd060ce121aed4d3702 100644
--- a/Source/bindings/v8/V8Binding.cpp
+++ b/Source/bindings/v8/V8Binding.cpp
@@ -98,6 +98,15 @@ v8::Handle<v8::Value> v8Array(PassRefPtr<DOMStringList> stringList, v8::Isolate*
return result;
}
+Vector<v8::Handle<v8::Value> > toVectorOfArguments(const v8::Arguments& args)
+{
+ Vector<v8::Handle<v8::Value> > result;
+ size_t length = args.Length();
+ for (size_t i = 0; i < length; ++i)
+ result.append(args[i]);
+ return result;
+}
+
PassRefPtr<NodeFilter> toNodeFilter(v8::Handle<v8::Value> callback)
{
return NodeFilter::create(V8NodeFilterCondition::create(callback));
« no previous file with comments | « Source/bindings/v8/V8Binding.h ('k') | Source/bindings/v8/V8PerContextData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698