summaryrefslogtreecommitdiffstats
path: root/android_webview/native/aw_settings.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-17 17:48:33 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-17 17:48:33 +0000
commit0d4763b5d57ab007fbe444b55fae83c72fa7529a (patch)
tree13e1106070c1125084422f02967374839fb9b175 /android_webview/native/aw_settings.cc
parent70bf1a6bbd3086acb2384dd38b08172f750c135e (diff)
downloadchromium_src-0d4763b5d57ab007fbe444b55fae83c72fa7529a.zip
chromium_src-0d4763b5d57ab007fbe444b55fae83c72fa7529a.tar.gz
chromium_src-0d4763b5d57ab007fbe444b55fae83c72fa7529a.tar.bz2
Delete unnecessary lines of code.
R=jamesr@chromium.org Review URL: https://codereview.chromium.org/19463004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212085 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/native/aw_settings.cc')
-rw-r--r--android_webview/native/aw_settings.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/android_webview/native/aw_settings.cc b/android_webview/native/aw_settings.cc
index 667f426..9295c00 100644
--- a/android_webview/native/aw_settings.cc
+++ b/android_webview/native/aw_settings.cc
@@ -14,6 +14,7 @@
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_client.h"
#include "jni/AwSettings_jni.h"
+#include "third_party/WebKit/public/web/WebView.h"
#include "webkit/common/user_agent/user_agent.h"
#include "webkit/common/webpreferences.h"
#include "webkit/glue/webkit_glue.h"
@@ -114,8 +115,8 @@ void AwSettings::UpdateWebkitPreferencesLocked(JNIEnv* env, jobject obj) {
render_view_host_ext->SetTextZoomLevel(0);
} else {
prefs.force_enable_zoom = false;
- render_view_host_ext->SetTextZoomLevel(webkit_glue::ZoomFactorToZoomLevel(
- text_size_percent / 100.0f));
+ render_view_host_ext->SetTextZoomLevel(
+ WebKit::WebView::zoomFactorToZoomLevel(text_size_percent / 100.0f));
}
prefs.standard_font_family_map[webkit_glue::kCommonScript] =