Fix mistake when setting dialog type for date/time dialog

There was a mistake in r238594 which caused the date/time dialog to not open.

BUG=None

Review URL: https://codereview.chromium.org/106573002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239145 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 239145
<webview>: Only resolve relative URLs to chrome-extension: if enabled

It doesn't make much sense to resolve bad URLs to chrome-extension: URLs if
support for chrome-extension: URLs has been disabled.

BUG=326194

Review URL: https://codereview.chromium.org/106743003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239146 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 239146