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

Unified Diff: content/public/test/mock_render_thread.h

Issue 11363008: Fix for 128506: Random Chinese/Japanese characters are missing in documents printed via the syst... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 2 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/public/test/mock_render_thread.h
===================================================================
--- content/public/test/mock_render_thread.h (revision 158204)
+++ content/public/test/mock_render_thread.h (working copy)
@@ -5,6 +5,8 @@
#ifndef CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
#define CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
+#include <string>
+
#include "base/shared_memory.h"
#include "base/string16.h"
#include "content/public/renderer/render_thread.h"
@@ -71,6 +73,8 @@
virtual void UpdateHistograms(int sequence_number) OVERRIDE;
#if defined(OS_WIN)
virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE;
+ virtual void PreCacheFontCharacters(const LOGFONT& log_font,
+ const std::wstring& str) OVERRIDE;
virtual void ReleaseCachedFonts() OVERRIDE;
#endif

Powered by Google App Engine
This is Rietveld 408576698