Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 1179653004: Remove non-impl-side painting as an option for blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removenoimplblink: . Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 0a6e5928d58fcdcf907ae115fe277d67d8a62840..a644758232d3cd3fbdc0e505abda4f07b94426a5 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -431,10 +431,9 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() {
prefs.accelerated_2d_canvas_msaa_sample_count =
atoi(command_line.GetSwitchValueASCII(
switches::kAcceleratedCanvas2dMSAASampleCount).c_str());
- // Text blobs rely on impl-side painting for proper LCD handling.
- prefs.text_blobs_enabled = command_line.HasSwitch(switches::kForceTextBlobs)
- || (content::IsImplSidePaintingEnabled() &&
- !command_line.HasSwitch(switches::kDisableTextBlobs));
+ prefs.text_blobs_enabled =
+ command_line.HasSwitch(switches::kForceTextBlobs) ||
+ !command_line.HasSwitch(switches::kDisableTextBlobs);
prefs.pinch_overlay_scrollbar_thickness = 10;
prefs.use_solid_color_scrollbars = ui::IsOverlayScrollbarEnabled();
@@ -508,10 +507,6 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() {
prefs.main_frame_resizes_are_orientation_changes =
command_line.HasSwitch(switches::kMainFrameResizesAreOrientationChanges);
- prefs.deferred_image_decoding_enabled =
- command_line.HasSwitch(switches::kEnableDeferredImageDecoding) ||
- content::IsImplSidePaintingEnabled();
-
prefs.image_color_profiles_enabled =
command_line.HasSwitch(switches::kEnableImageColorProfiles);
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/resources/gpu/info_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698