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

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

Issue 789583002: Updates subpixel positioning and hinting when DSF is changed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GN Created 6 years 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/sandbox_ipc_linux.cc
diff --git a/content/browser/renderer_host/sandbox_ipc_linux.cc b/content/browser/renderer_host/sandbox_ipc_linux.cc
index b2e024e1e8cedfe6fd1e27f420355b64abf335db..16db9feea78919b277d6a7bf8dc5b64593213658 100644
--- a/content/browser/renderer_host/sandbox_ipc_linux.cc
+++ b/content/browser/renderer_host/sandbox_ipc_linux.cc
@@ -307,7 +307,8 @@ void SandboxIPCHandler::HandleGetStyleForStrike(
query.pixel_size = pixel_size;
query.style = gfx::Font::NORMAL |
(bold ? gfx::Font::BOLD : 0) | (italic ? gfx::Font::ITALIC : 0);
- const gfx::FontRenderParams params = gfx::GetFontRenderParams(query, NULL);
+ const gfx::FontRenderParams params =
+ gfx::GetCurrentFontRenderParams(query, NULL);
// These are passed as ints since they're interpreted as tri-state chars in
// Blink.

Powered by Google App Engine
This is Rietveld 408576698