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

Unified Diff: Source/modules/serviceworkers/RegistrationOptionList.h

Issue 373423002: Split Dictionary's get and convert into DictionaryHelper. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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/modules/serviceworkers/RegistrationOptionList.h
diff --git a/Source/modules/serviceworkers/RegistrationOptionList.h b/Source/modules/serviceworkers/RegistrationOptionList.h
index 4b204b62b3e7817e6f08156106a2ec6b09a05492..92523536b20107e48b8d0fda724b70d2cc2fdfc1 100644
--- a/Source/modules/serviceworkers/RegistrationOptionList.h
+++ b/Source/modules/serviceworkers/RegistrationOptionList.h
@@ -6,6 +6,7 @@
#define RegistrationOptionList_h
#include "bindings/core/v8/Dictionary.h"
+#include "bindings/core/v8/DictionaryHelper.h"
namespace WebCore {
@@ -14,7 +15,7 @@ struct RegistrationOptionList {
: scope("/*")
{
// FIXME: Should be ScalarValueString. http://crbug.com/379009
- options.get("scope", scope);
+ DictionaryHelper::get(options, "scope", scope);
}
String scope;

Powered by Google App Engine
This is Rietveld 408576698