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

Unified Diff: Source/modules/filesystem/FileSystemFlags.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/filesystem/FileSystemFlags.h
diff --git a/Source/modules/filesystem/FileSystemFlags.h b/Source/modules/filesystem/FileSystemFlags.h
index 0108c520feeeca19ecabad0d37030a69986d414f..05f656cc72fef68c05671623d1069afc41fc497d 100644
--- a/Source/modules/filesystem/FileSystemFlags.h
+++ b/Source/modules/filesystem/FileSystemFlags.h
@@ -32,6 +32,7 @@
#define FileSystemFlags_h
#include "bindings/core/v8/Dictionary.h"
+#include "bindings/core/v8/DictionaryHelper.h"
namespace WebCore {
@@ -40,8 +41,8 @@ struct FileSystemFlags {
: create(false)
, exclusive(false)
{
- options.get("create", create);
- options.get("exclusive", exclusive);
+ DictionaryHelper::get(options, "create", create);
+ DictionaryHelper::get(options, "exclusive", exclusive);
}
bool create;

Powered by Google App Engine
This is Rietveld 408576698