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

Unified Diff: Source/modules/webmidi/MIDIOptions.h

Issue 373423002: Split Dictionary's get and convert into DictionaryHelper. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed LICENSE and windows build 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/webmidi/MIDIOptions.h
diff --git a/Source/modules/webmidi/MIDIOptions.h b/Source/modules/webmidi/MIDIOptions.h
index 3ce1119ce3b2bcfed22ba0570acb1ac5afb56c4c..1e1c8d2e6d530319cfe32f5288b25f1d9ef81fc2 100644
--- a/Source/modules/webmidi/MIDIOptions.h
+++ b/Source/modules/webmidi/MIDIOptions.h
@@ -32,6 +32,7 @@
#define MIDIOptions_h
#include "bindings/core/v8/Dictionary.h"
+#include "bindings/core/v8/DictionaryHelper.h"
namespace WebCore {
@@ -39,7 +40,7 @@ struct MIDIOptions {
explicit MIDIOptions(const Dictionary& options)
: sysex(false)
{
- options.get("sysex", sysex);
+ DictionaryHelper::get(options, "sysex", sysex);
}
bool sysex;
« Source/bindings/scripts/v8_interface.py ('K') | « Source/modules/serviceworkers/ResponseInit.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698