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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8StringResource.h

Issue 2709983004: WIP bindings: Add support for the record<K,V> WebIDL type. (Closed)
Patch Set: Rebased patch using NativeValueTraits for IDL types Created 3 years, 10 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: third_party/WebKit/Source/bindings/core/v8/V8StringResource.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8StringResource.h b/third_party/WebKit/Source/bindings/core/v8/V8StringResource.h
index 7b453d97ff952f7f5cadb6ef66f99b26f40bf3cd..4afa461327233da55e1db7c250a59c2901c009f1 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8StringResource.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8StringResource.h
@@ -178,6 +178,9 @@ class V8StringResource {
V8StringResource(v8::Local<v8::Value> object)
: m_v8Object(object), m_mode(Externalize) {}
+ V8StringResource(v8::Local<v8::String> object)
+ : m_v8Object(object), m_mode(Externalize) {}
+
V8StringResource(const String& string)
: m_mode(Externalize), m_string(string) {}

Powered by Google App Engine
This is Rietveld 408576698