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

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: 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
« no previous file with comments | « Source/modules/serviceworkers/ResponseInit.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIOptions.h
diff --git a/Source/modules/webmidi/MIDIOptions.h b/Source/modules/webmidi/MIDIOptions.h
index 3ce1119ce3b2bcfed22ba0570acb1ac5afb56c4c..028e4e39b47eae13a9b04def00f3a6e028a02312 100644
--- a/Source/modules/webmidi/MIDIOptions.h
+++ b/Source/modules/webmidi/MIDIOptions.h
@@ -39,7 +39,7 @@ struct MIDIOptions {
explicit MIDIOptions(const Dictionary& options)
: sysex(false)
{
- options.get("sysex", sysex);
+ DictionaryHelper::get(options, "sysex", sysex);
}
bool sysex;
« no previous file with comments | « Source/modules/serviceworkers/ResponseInit.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698