summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/webui')
-rw-r--r--chrome/browser/ui/webui/sync_setup_handler.cc2
-rw-r--r--chrome/browser/ui/webui/uber/uber_ui.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/sync_setup_handler.cc b/chrome/browser/ui/webui/sync_setup_handler.cc
index 93627ef..6b2d043 100644
--- a/chrome/browser/ui/webui/sync_setup_handler.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler.cc
@@ -741,7 +741,7 @@ void SyncSetupHandler::OpenSyncSetup() {
// If the wizard is already visible, just focus that one.
if (FocusExistingWizardIfPresent()) {
if (!IsActiveLogin())
- CloseOverlay();
+ CloseOverlay();
return;
}
diff --git a/chrome/browser/ui/webui/uber/uber_ui.cc b/chrome/browser/ui/webui/uber/uber_ui.cc
index 6273992..e05fce7 100644
--- a/chrome/browser/ui/webui/uber/uber_ui.cc
+++ b/chrome/browser/ui/webui/uber/uber_ui.cc
@@ -109,7 +109,7 @@ void UberUI::RegisterSubpage(const std::string& page_url) {
content::WebUI* webui =
web_ui()->GetWebContents()->CreateWebUI(GURL(page_url));
- webui->SetFrameXPath("//iframe[@src='" + page_url + "']");
+ webui->SetFrameXPath("//iframe[starts-with(@src,'" + page_url + "')]");
sub_uis_[page_url] = webui;
}