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

Unified Diff: chrome/renderer/print_web_view_helper_mac.mm

Issue 9111042: Fix RTL and complex script title in print preview header/footer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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: chrome/renderer/print_web_view_helper_mac.mm
diff --git a/chrome/renderer/print_web_view_helper_mac.mm b/chrome/renderer/print_web_view_helper_mac.mm
index 5962a1a9dfe3d6ddbbc1d9f6354d7147f25dcb41..4c3b3ffa9ef704eb13fb7840698884ce4a928d0c 100644
--- a/chrome/renderer/print_web_view_helper_mac.mm
+++ b/chrome/renderer/print_web_view_helper_mac.mm
@@ -206,3 +206,13 @@ void PrintWebViewHelper::RenderPage(
// Done printing. Close the device context to retrieve the compiled metafile.
metafile->FinishPage();
}
+
+#if defined(USE_SKIA)
+// static
+bool PrintWebViewHelper::ConvertTextToGlyphs(SkTypeface* typeface,
+ const string16& text,
+ std::vector<uint16_t>* glyphs) {
+ // TODO(arthurhsu): provide fix for Linux.
+ return false;
+}
+#endif

Powered by Google App Engine
This is Rietveld 408576698