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

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: Fixed the compiler error behind ASSERT flag 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
Index: Source/bindings/core/v8/NativeValueTraits.h
diff --git a/Source/bindings/core/v8/NativeValueTraits.h b/Source/bindings/core/v8/NativeValueTraits.h
index 6d553d0aacf0981866255c8f752dd8e0ace40057..29ef64422d4093d2a16d04c3a7f53f5f9888d657 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::Local<v8::Value>, v8::Isolate*, ExceptionState&);
+ static T nativeValue(v8::Local<v8::Value>, v8::Isolate*, ExceptionState&, Arguments... args);
};
} // namespace blink
« no previous file with comments | « no previous file | Source/bindings/core/v8/ScriptDebugServer.cpp » ('j') | Source/bindings/modules/v8/V8BindingForModules.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698