Index: ppapi/cpp/extensions/dict_field.h |
diff --git a/ppapi/cpp/extensions/dict_field.h b/ppapi/cpp/extensions/dict_field.h |
index 5a085c3af82914453dc4f9ed2dd8dd2089544da6..928055cce74af65e979637af5d877eb45c743fc0 100644 |
--- a/ppapi/cpp/extensions/dict_field.h |
+++ b/ppapi/cpp/extensions/dict_field.h |
@@ -8,11 +8,11 @@ |
#include <string> |
#include "ppapi/c/pp_bool.h" |
-#include "ppapi/cpp/dev/var_dictionary_dev.h" |
#include "ppapi/cpp/extensions/from_var_converter.h" |
#include "ppapi/cpp/extensions/optional.h" |
#include "ppapi/cpp/extensions/to_var_converter.h" |
#include "ppapi/cpp/var.h" |
+#include "ppapi/cpp/var_dictionary.h" |
namespace pp { |
namespace ext { |
@@ -33,7 +33,7 @@ class DictField { |
const T& operator()() const { return value_; } |
// Adds this field to the dictionary var. |
- bool AddTo(VarDictionary_Dev* dict) const { |
+ bool AddTo(VarDictionary* dict) const { |
if (!dict) |
return false; |
@@ -41,7 +41,7 @@ class DictField { |
return PP_ToBool(dict->Set(Var(key_), converter.var())); |
} |
- bool Populate(const VarDictionary_Dev& dict) { |
+ bool Populate(const VarDictionary& dict) { |
Var value_var = dict.Get(Var(key_)); |
if (value_var.is_undefined()) |
return false; |
@@ -72,7 +72,7 @@ class OptionalDictField { |
const Optional<T>& operator()() const { return value_; } |
// Adds this field to the dictionary var, if |value| has been set. |
- bool MayAddTo(VarDictionary_Dev* dict) const { |
+ bool MayAddTo(VarDictionary* dict) const { |
if (!dict) |
return false; |
if (!value_.IsSet()) |
@@ -82,7 +82,7 @@ class OptionalDictField { |
return PP_ToBool(dict->Set(Var(key_), converter.var())); |
} |
- bool Populate(const VarDictionary_Dev& dict) { |
+ bool Populate(const VarDictionary& dict) { |
Var value_var = dict.Get(Var(key_)); |
internal::FromVarConverter<Optional<T> > converter(value_var.pp_var()); |
value_.Swap(&converter.value()); |