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

Unified Diff: third_party/WebKit/Source/core/testing/DictionaryTest.cpp

Issue 2836093004: Remove V8Call and replace with v8::Maybe<T>::To and v8::MaybeLocal<T>::ToLocal. (Closed)
Patch Set: rebase Created 3 years, 8 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/core/testing/DictionaryTest.cpp
diff --git a/third_party/WebKit/Source/core/testing/DictionaryTest.cpp b/third_party/WebKit/Source/core/testing/DictionaryTest.cpp
index f85dd44ffd9b25aa760621b5aba2b9a8e6434117..2d7097f06b41d89cca04d4e00b8770316816fb9a 100644
--- a/third_party/WebKit/Source/core/testing/DictionaryTest.cpp
+++ b/third_party/WebKit/Source/core/testing/DictionaryTest.cpp
@@ -190,7 +190,7 @@ String DictionaryTest::stringFromIterable(
result.Append(',');
v8::Local<v8::Value> value;
- if (V8Call(iterator.GetValue(), value))
+ if (iterator.GetValue().ToLocal(&value))
result.Append(ToCoreString(value->ToString()));
}

Powered by Google App Engine
This is Rietveld 408576698