summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-15 18:20:17 +0000
committermpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-15 18:20:17 +0000
commit731ae5165404c2ccf32af50ac3fda3364d41fbb1 (patch)
tree0d7b80f23180ca20c8a27cf92bc20b4009b6fc44
parent1fa05e65f12f3e9b132ac71e2493b573d7c154de (diff)
downloadchromium_src-731ae5165404c2ccf32af50ac3fda3364d41fbb1.zip
chromium_src-731ae5165404c2ccf32af50ac3fda3364d41fbb1.tar.gz
chromium_src-731ae5165404c2ccf32af50ac3fda3364d41fbb1.tar.bz2
Fix a regression in the gears dialog where it would display nothing.
BUG=58080 TEST=no Review URL: http://codereview.chromium.org/3832002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62763 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/renderer/render_view.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index 45f7d24..0ca3650 100644
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -3115,6 +3115,7 @@ void RenderView::didClearWindowObject(WebFrame* frame) {
GURL frame_url = frame->url();
if (BindingsPolicy::is_dom_ui_enabled(enabled_bindings_) &&
(frame_url.SchemeIs(chrome::kChromeUIScheme) ||
+ frame_url.SchemeIs(chrome::kGearsScheme) ||
frame_url.SchemeIs(chrome::kDataScheme))) {
GetDOMUIBindings()->set_message_sender(this);
GetDOMUIBindings()->set_routing_id(routing_id_);