| Index: content/browser/webui/web_ui_impl.cc
|
| ===================================================================
|
| --- content/browser/webui/web_ui_impl.cc (revision 120814)
|
| +++ content/browser/webui/web_ui_impl.cc (working copy)
|
| @@ -9,7 +9,7 @@
|
| #include "base/stl_util.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "base/values.h"
|
| -#include "content/browser/child_process_security_policy.h"
|
| +#include "content/browser/child_process_security_policy_impl.h"
|
| #include "content/browser/renderer_host/render_process_host_impl.h"
|
| #include "content/browser/renderer_host/render_view_host.h"
|
| #include "content/browser/tab_contents/tab_contents.h"
|
| @@ -79,7 +79,7 @@
|
| void WebUIImpl::OnWebUISend(const GURL& source_url,
|
| const std::string& message,
|
| const ListValue& args) {
|
| - if (!ChildProcessSecurityPolicy::GetInstance()->
|
| + if (!ChildProcessSecurityPolicyImpl::GetInstance()->
|
| HasWebUIBindings(web_contents_->GetRenderProcessHost()->GetID())) {
|
| NOTREACHED() << "Blocked unauthorized use of WebUIBindings.";
|
| return;
|
|
|