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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForBindings.h

Issue 2285183005: Use StringView in Dictionary and DictionaryHelper. (Closed)
Patch Set: rebase. 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/core/v8/DictionaryHelperForBindings.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForBindings.h b/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForBindings.h
index 10be3d8072f5579bc10d197750a5afb86ac69349..4f565a77e30adc2f482872595423c8ee80001e6c 100644
--- a/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForBindings.h
+++ b/third_party/WebKit/Source/bindings/core/v8/DictionaryHelperForBindings.h
@@ -32,7 +32,7 @@
namespace blink {
template <template <typename> class PointerType, typename T>
-bool DictionaryHelper::get(const Dictionary& dictionary, const String& key, PointerType<T>& value)
+bool DictionaryHelper::get(const Dictionary& dictionary, const StringView& key, PointerType<T>& value)
{
v8::Local<v8::Value> v8Value;
if (!dictionary.get(key, v8Value))

Powered by Google App Engine
This is Rietveld 408576698