Chromium Code Reviews| Index: remoting/host/plugin/policy_hack/nat_policy_linux.cc |
| diff --git a/remoting/host/plugin/policy_hack/nat_policy_linux.cc b/remoting/host/plugin/policy_hack/nat_policy_linux.cc |
| index 8255660626ff76760645caeea0bbeab4a1b57da5..bfa4fc951bc2be1f8d3a7e661a6a94f37004c1e1 100644 |
| --- a/remoting/host/plugin/policy_hack/nat_policy_linux.cc |
| +++ b/remoting/host/plugin/policy_hack/nat_policy_linux.cc |
| @@ -181,7 +181,7 @@ class NatPolicyLinux : public NatPolicy { |
| << config_file_iter->value() << ": " << error_msg; |
| continue; |
| } |
| - if (!value->IsType(Value::TYPE_DICTIONARY)) { |
| + if (!value->IsDictionary()) { |
| LOG(WARNING) << "Expected JSON dictionary in configuration file " |
| << config_file_iter->value(); |
| continue; |
| @@ -209,7 +209,7 @@ class NatPolicyLinux : public NatPolicy { |
| } |
| // Load the policy definitions. |
| - scoped_ptr<DictionaryValue> new_policy(Load()); |
| + scoped_ptr<base::DictionaryValue> new_policy(Load()); |
|
tony
2011/08/19 17:24:21
Why is this necessary here? There are lots of oth
tfarina
2011/08/19 18:40:47
Done.
|
| UpdateNatPolicy(new_policy.get()); |
| ScheduleFallbackReloadTask(); |