diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 14:26:54 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 14:26:54 +0000 |
commit | 7d926f9072ac496db6df715cc6a6bd5d3f9bd011 (patch) | |
tree | 5a098ba124a7d9749d43617e703d62ce9f271171 /chrome/browser/tab_contents | |
parent | ebd49b19aafad701860adf8e1e145448ef8d13e5 (diff) | |
download | chromium_src-7d926f9072ac496db6df715cc6a6bd5d3f9bd011.zip chromium_src-7d926f9072ac496db6df715cc6a6bd5d3f9bd011.tar.gz chromium_src-7d926f9072ac496db6df715cc6a6bd5d3f9bd011.tar.bz2 |
Remove some instances of NOTIMPLEMENTED in favor of hooking up functionality or filing a bug as a placeholder. Reduces noise at startup.
Review URL: http://codereview.chromium.org/27353
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10790 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r-- | chrome/browser/tab_contents/web_contents.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/tab_contents/web_contents.cc b/chrome/browser/tab_contents/web_contents.cc index 449a51e..1337b51 100644 --- a/chrome/browser/tab_contents/web_contents.cc +++ b/chrome/browser/tab_contents/web_contents.cc @@ -1219,7 +1219,6 @@ GURL WebContents::GetAlternateErrorPageURL() const { WebPreferences WebContents::GetWebkitPrefs() { // Initialize web_preferences_ to chrome defaults. WebPreferences web_prefs; -#if defined(OS_WIN) || defined(OS_LINUX) PrefService* prefs = profile()->GetPrefs(); web_prefs.fixed_font_family = @@ -1296,13 +1295,6 @@ WebPreferences WebContents::GetWebkitPrefs() { web_prefs.default_encoding = prefs->GetString( prefs::kDefaultCharset); } -#else - // TODO(port): we skip doing the above settings because the default values - // for these prefs->GetFoo() calls aren't filled in yet. By leaving the - // the WebPreferences alone, we get the moderately-sane default values out - // of WebKit. Remove this ifdef block once we properly load font sizes, etc. - NOTIMPLEMENTED(); -#endif DCHECK(!web_prefs.default_encoding.empty()); return web_prefs; |