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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp

Issue 2287433002: Make Dictionary::toV8Impl return v8::Undefined() (Closed)
Patch Set: Created 4 years, 4 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/tests/results/core/V8TestDictionary.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp
index 47a54c9ea81041253b63426dfeb5bade369a077b..efcb9bbccbd741bb0ffca4384335472c07483ca8 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp
@@ -548,7 +548,7 @@ v8::Local<v8::Value> TestDictionary::toV8Impl(v8::Local<v8::Object> creationCont
{
v8::Local<v8::Object> v8Object = v8::Object::New(isolate);
if (!toV8TestDictionary(*this, v8Object, creationContext, isolate))
- return v8::Local<v8::Value>();
+ return v8::Undefined(isolate);
return v8Object;
}

Powered by Google App Engine
This is Rietveld 408576698