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

Unified Diff: Source/bindings/core/v8/NativeValueTraits.h

Issue 1021713003: [bindings] Let NativeValueTraits<T>::nativeValue be variadic function and merge various convers… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: IDB related changes alone. Created 5 years, 9 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 | « no previous file | Source/bindings/core/v8/ScriptValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/NativeValueTraits.h
diff --git a/Source/bindings/core/v8/NativeValueTraits.h b/Source/bindings/core/v8/NativeValueTraits.h
index b8840727f2569fe9b907029860653c6f492484ec..be1f3f5c340b0a5931962fe65310374f8bff7069 100644
--- a/Source/bindings/core/v8/NativeValueTraits.h
+++ b/Source/bindings/core/v8/NativeValueTraits.h
@@ -11,9 +11,9 @@ namespace blink {
class ExceptionState;
-template <typename T>
+template <typename T, typename... Arguments>
struct NativeValueTraits {
- static T nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
+ static T nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&, Arguments... args);
};
} // namespace blink
« no previous file with comments | « no previous file | Source/bindings/core/v8/ScriptValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698