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

Unified Diff: third_party/WebKit/WebCore/platform/graphics/FontDescription.h

Issue 56198: Roll out dominantScript, getGenericFontForScript patches to unfork a bunch of... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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: third_party/WebKit/WebCore/platform/graphics/FontDescription.h
===================================================================
--- third_party/WebKit/WebCore/platform/graphics/FontDescription.h (revision 13094)
+++ third_party/WebKit/WebCore/platform/graphics/FontDescription.h (working copy)
@@ -28,7 +28,6 @@
#include "FontFamily.h"
#include "FontRenderingMode.h"
#include "FontTraitsMask.h"
-#include <unicode/uscript.h>
namespace WebCore {
@@ -62,7 +61,6 @@
, m_usePrinterFont(false)
, m_renderingMode(NormalRenderingMode)
, m_keywordSize(0)
- , m_dominantScript(USCRIPT_INVALID_CODE)
{
}
@@ -84,7 +82,6 @@
bool usePrinterFont() const { return m_usePrinterFont; }
FontRenderingMode renderingMode() const { return static_cast<FontRenderingMode>(m_renderingMode); }
int keywordSize() const { return m_keywordSize; }
- UScriptCode dominantScript() const { return m_dominantScript; }
FontTraitsMask traitsMask() const;
@@ -99,7 +96,6 @@
void setUsePrinterFont(bool p) { m_usePrinterFont = p; }
void setRenderingMode(FontRenderingMode mode) { m_renderingMode = mode; }
void setKeywordSize(int s) { m_keywordSize = s; }
- void setDominantScript(UScriptCode s) { m_dominantScript = s; }
private:
FontFamily m_familyList; // The list of font families to be used.
@@ -121,8 +117,6 @@
int m_keywordSize : 4; // We cache whether or not a font is currently represented by a CSS keyword (e.g., medium). If so,
// then we can accurately translate across different generic families to adjust for different preference settings
// (e.g., 13px monospace vs. 16px everything else). Sizes are 1-8 (like the HTML size values for <font>).
- UScriptCode m_dominantScript; // See the comment in Document.h
-
};
inline bool FontDescription::operator==(const FontDescription& other) const

Powered by Google App Engine
This is Rietveld 408576698