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

Unified Diff: Source/bindings/tests/results/core/V8SVGTestInterface.cpp

Issue 946973005: IDL: Drop value conversion (V8 -> C++) macros from generated code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/bindings/tests/results/core/V8SVGTestInterface.cpp
diff --git a/Source/bindings/tests/results/core/V8SVGTestInterface.cpp b/Source/bindings/tests/results/core/V8SVGTestInterface.cpp
index ecb9c67195a619aad408b115e5b8a40c9e325ac6..dbb048e7263ef32005ed966d63c67e7d0750cc0c 100644
--- a/Source/bindings/tests/results/core/V8SVGTestInterface.cpp
+++ b/Source/bindings/tests/results/core/V8SVGTestInterface.cpp
@@ -49,7 +49,7 @@ static void typeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Property
{
v8::Local<v8::Object> holder = info.Holder();
SVGTestInterface* impl = V8SVGTestInterface::toImpl(holder);
- TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
+ TONATIVE_DECLARE(V8StringResource<>, cppValue, (cppValue = v8Value).prepare(), return);
CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
impl->setAttribute(SVGNames::typeAttr, cppValue);
}

Powered by Google App Engine
This is Rietveld 408576698