Index: webkit/glue/webpreferences.cc |
=================================================================== |
--- webkit/glue/webpreferences.cc (revision 159486) |
+++ webkit/glue/webpreferences.cc (working copy) |
@@ -120,7 +120,8 @@ |
fixed_position_creates_stacking_context(false), |
sync_xhr_in_documents_enabled(true), |
number_of_cpu_cores(1), |
- cookie_enabled(true) { |
+ cookie_enabled(true), |
+ apply_page_scale_factor_in_compositor(false) { |
standard_font_family_map[kCommonScript] = |
ASCIIToUTF16("Times New Roman"); |
fixed_font_family_map[kCommonScript] = |
@@ -235,6 +236,8 @@ |
settings->setDefaultTextEncodingName(ASCIIToUTF16(default_encoding)); |
settings->setApplyDefaultDeviceScaleFactorInCompositor( |
apply_default_device_scale_factor_in_compositor); |
+ settings->setApplyPageScaleFactorInCompositor( |
+ apply_page_scale_factor_in_compositor); |
settings->setJavaScriptEnabled(javascript_enabled); |
settings->setWebSecurityEnabled(web_security_enabled); |
settings->setJavaScriptCanOpenWindowsAutomatically( |
@@ -419,6 +422,9 @@ |
settings->setFixedPositionCreatesStackingContext( |
fixed_position_creates_stacking_context); |
+ settings->setApplyPageScaleFactorInCompositor( |
+ apply_page_scale_factor_in_compositor); |
+ |
WebNetworkStateNotifier::setOnLine(is_online); |
} |