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

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

Issue 19582005: Rebaseline bindings tests results after r154648 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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/V8TestObject.cpp
diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp
index 8b61e64d0a33bf7efb792a99ab5c2a5474af8ee0..4760653d5c775085b549d01524aae771f90633bd 100644
--- a/Source/bindings/tests/results/V8TestObject.cpp
+++ b/Source/bindings/tests/results/V8TestObject.cpp
@@ -110,7 +110,7 @@ static void readOnlyLongAttrAttrGetterCallback(v8::Local<v8::String> name, const
static void readOnlyStringAttrAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
{
TestObj* imp = V8TestObject::toNative(info.Holder());
- v8SetReturnValueString(info, imp->readOnlyStringAttr(), info.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(info, imp->readOnlyStringAttr(), info.GetIsolate());
return;
}
@@ -157,7 +157,7 @@ static void staticReadOnlyLongAttrAttrGetterCallback(v8::Local<v8::String> name,
static void staticStringAttrAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
{
- v8SetReturnValueString(info, TestObj::staticStringAttr(), info.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(info, TestObj::staticStringAttr(), info.GetIsolate());
return;
}
@@ -185,7 +185,7 @@ static void staticStringAttrAttrSetterCallback(v8::Local<v8::String> name, v8::L
static void enumAttrAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
{
TestObj* imp = V8TestObject::toNative(info.Holder());
- v8SetReturnValueString(info, imp->enumAttr(), info.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(info, imp->enumAttr(), info.GetIsolate());
return;
}
@@ -217,7 +217,7 @@ static void enumAttrAttrSetterCallback(v8::Local<v8::String> name, v8::Local<v8:
static void readOnlyEnumAttrAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
{
TestObj* imp = V8TestObject::toNative(info.Holder());
- v8SetReturnValueString(info, imp->readOnlyEnumAttr(), info.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(info, imp->readOnlyEnumAttr(), info.GetIsolate());
return;
}
@@ -434,7 +434,7 @@ static void unsignedLongLongAttrAttrSetterCallback(v8::Local<v8::String> name, v
static void stringAttrAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
{
TestObj* imp = V8TestObject::toNative(info.Holder());
- v8SetReturnValueString(info, imp->stringAttr(), info.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(info, imp->stringAttr(), info.GetIsolate());
return;
}
@@ -552,7 +552,7 @@ static void createAttrSetterCallback(v8::Local<v8::String> name, v8::Local<v8::V
static void reflectedStringAttrAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
{
TestObj* imp = V8TestObject::toNative(info.Holder());
- v8SetReturnValueString(info, imp->fastGetAttribute(WebCore::HTMLNames::reflectedstringattrAttr), info.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(info, imp->fastGetAttribute(WebCore::HTMLNames::reflectedstringattrAttr), info.GetIsolate());
return;
}
@@ -676,7 +676,7 @@ static void reflectedBooleanAttrAttrSetterCallback(v8::Local<v8::String> name, v
static void reflectedURLAttrAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
{
TestObj* imp = V8TestObject::toNative(info.Holder());
- v8SetReturnValueString(info, imp->getURLAttribute(WebCore::HTMLNames::reflectedurlattrAttr), info.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(info, imp->getURLAttribute(WebCore::HTMLNames::reflectedurlattrAttr), info.GetIsolate());
return;
}
@@ -707,7 +707,7 @@ static void reflectedURLAttrAttrSetterCallback(v8::Local<v8::String> name, v8::L
static void reflectedStringAttrAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
{
TestObj* imp = V8TestObject::toNative(info.Holder());
- v8SetReturnValueString(info, imp->fastGetAttribute(WebCore::HTMLNames::customContentStringAttrAttr), info.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(info, imp->fastGetAttribute(WebCore::HTMLNames::customContentStringAttrAttr), info.GetIsolate());
return;
}
@@ -800,7 +800,7 @@ static void reflectedCustomBooleanAttrAttrSetterCallback(v8::Local<v8::String> n
static void reflectedCustomURLAttrAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
{
TestObj* imp = V8TestObject::toNative(info.Holder());
- v8SetReturnValueString(info, imp->getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr), info.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(info, imp->getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr), info.GetIsolate());
return;
}
@@ -928,7 +928,7 @@ static void stringAttrWithGetterExceptionAttrGetter(v8::Local<v8::String> name,
String v = imp->stringAttrWithGetterException(es);
if (UNLIKELY(es.throwIfNeeded()))
return;
- v8SetReturnValueString(info, v, info.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(info, v, info.GetIsolate());
return;
}
@@ -957,7 +957,7 @@ static void stringAttrWithGetterExceptionAttrSetterCallback(v8::Local<v8::String
static void stringAttrWithSetterExceptionAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
{
TestObj* imp = V8TestObject::toNative(info.Holder());
- v8SetReturnValueString(info, imp->stringAttrWithSetterException(), info.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(info, imp->stringAttrWithSetterException(), info.GetIsolate());
return;
}
@@ -2089,7 +2089,7 @@ static void idAttrSetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value
static void hashAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
{
TestObj* imp = V8TestObject::toNative(info.Holder());
- v8SetReturnValueString(info, imp->hash(), info.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(info, imp->hash(), info.GetIsolate());
return;
}
@@ -2183,7 +2183,7 @@ static void nullableStringAttributeAttrGetter(v8::Local<v8::String> name, const
v8SetReturnValueNull(info);
return;
}
- v8SetReturnValueString(info, v, info.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(info, v, info.GetIsolate());
return;
}
@@ -3901,7 +3901,7 @@ static void methodWithEnforceRangeUInt64MethodCallback(const v8::FunctionCallbac
static void conditionalMethod1Method(const v8::FunctionCallbackInfo<v8::Value>& args)
{
TestObj* imp = V8TestObject::toNative(args.Holder());
- v8SetReturnValueString(args, imp->conditionalMethod1(), args.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(args, imp->conditionalMethod1(), args.GetIsolate());
return;
}
@@ -5174,7 +5174,7 @@ static void namedPropertyGetter(v8::Local<v8::String> name, const v8::PropertyCa
String element = collection->namedItem(propertyName);
if (element.isNull())
return;
- v8SetReturnValueString(info, element, info.GetIsolate(), NullStringAsEmpty);
+ v8SetReturnValueString(info, element, info.GetIsolate());
}
static void namedPropertyGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
« no previous file with comments | « Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp ('k') | Source/bindings/tests/results/V8TestTypedefs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698