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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/DictionaryIterator.cpp

Issue 2509713002: binding: Makes Dictionary throw an exception (constructor). (Closed)
Patch Set: Addressed review comments. Created 4 years, 1 month 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/core/v8/DictionaryIterator.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/DictionaryIterator.cpp b/third_party/WebKit/Source/bindings/core/v8/DictionaryIterator.cpp
index a3c4898dd7a7cfeb2d2f867414afc917488e148a..e2548fc7d2688f87336d30a46da0522aa331aab5 100644
--- a/third_party/WebKit/Source/bindings/core/v8/DictionaryIterator.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/DictionaryIterator.cpp
@@ -91,7 +91,7 @@ bool DictionaryIterator::valueAsDictionary(Dictionary& result,
if (!v8Call(m_value, value) || !value->IsObject())
return false;
- result = Dictionary(value, m_isolate, exceptionState);
+ result = Dictionary(m_isolate, value, exceptionState);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698