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

Unified Diff: content/common/child_process_sandbox_support_impl_linux.cc

Issue 10540038: linux: Pass subpixel positioning setting to WebKit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 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
« no previous file with comments | « content/browser/renderer_host/render_sandbox_host_linux.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_process_sandbox_support_impl_linux.cc
diff --git a/content/common/child_process_sandbox_support_impl_linux.cc b/content/common/child_process_sandbox_support_impl_linux.cc
index 5a07986ec93987d7abd39f2061f1f73562e0f4c3..9294e7bab9a043a7c5c17e338895ca34237fe25c 100644
--- a/content/common/child_process_sandbox_support_impl_linux.cc
+++ b/content/common/child_process_sandbox_support_impl_linux.cc
@@ -65,19 +65,22 @@ void GetRenderStyleForStrike(const char* family, int sizeAndStyle,
Pickle reply(reinterpret_cast<char*>(buf), n);
PickleIterator pickle_iter(reply);
- int useBitmaps, useAutoHint, useHinting, hintStyle, useAntiAlias, useSubpixel;
+ int useBitmaps, useAutoHint, useHinting, hintStyle, useAntiAlias;
+ int useSubpixelRendering, useSubpixelPositioning;
if (reply.ReadInt(&pickle_iter, &useBitmaps) &&
reply.ReadInt(&pickle_iter, &useAutoHint) &&
reply.ReadInt(&pickle_iter, &useHinting) &&
reply.ReadInt(&pickle_iter, &hintStyle) &&
reply.ReadInt(&pickle_iter, &useAntiAlias) &&
- reply.ReadInt(&pickle_iter, &useSubpixel)) {
+ reply.ReadInt(&pickle_iter, &useSubpixelRendering) &&
+ reply.ReadInt(&pickle_iter, &useSubpixelPositioning)) {
out->useBitmaps = useBitmaps;
out->useAutoHint = useAutoHint;
out->useHinting = useHinting;
out->hintStyle = hintStyle;
out->useAntiAlias = useAntiAlias;
- out->useSubpixel = useSubpixel;
+ out->useSubpixelRendering = useSubpixelRendering;
+ out->useSubpixelPositioning = useSubpixelPositioning;
}
}
« no previous file with comments | « content/browser/renderer_host/render_sandbox_host_linux.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698