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

Unified Diff: Source/bindings/tests/results/V8TestEventConstructor.cpp

Issue 25675003: IDL compiler: remove nop return from end of getters and setters (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 2 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/V8TestEventConstructor.cpp
diff --git a/Source/bindings/tests/results/V8TestEventConstructor.cpp b/Source/bindings/tests/results/V8TestEventConstructor.cpp
index 160ebb309a3d55c8a352b319171ebd37da1ec094..c15cea05bc6529830b97337f5b0e32b4f32d5937 100644
--- a/Source/bindings/tests/results/V8TestEventConstructor.cpp
+++ b/Source/bindings/tests/results/V8TestEventConstructor.cpp
@@ -66,7 +66,6 @@ static void attr1AttributeGetter(v8::Local<v8::String> name, const v8::PropertyC
{
TestEventConstructor* imp = V8TestEventConstructor::toNative(info.Holder());
v8SetReturnValueString(info, imp->attr1(), info.GetIsolate());
- return;
}
static void attr1AttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
@@ -80,7 +79,6 @@ static void attr2AttributeGetter(v8::Local<v8::String> name, const v8::PropertyC
{
TestEventConstructor* imp = V8TestEventConstructor::toNative(info.Holder());
v8SetReturnValueString(info, imp->attr2(), info.GetIsolate());
- return;
}
static void attr2AttributeGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
« no previous file with comments | « Source/bindings/tests/results/V8TestActiveDOMObject.cpp ('k') | Source/bindings/tests/results/V8TestException.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698