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

Unified Diff: Source/core/testing/InternalSettings.cpp

Issue 157853002: Revert of Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 | « Source/core/page/Page.cpp ('k') | Source/platform/fonts/FontDescription.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/InternalSettings.cpp
diff --git a/Source/core/testing/InternalSettings.cpp b/Source/core/testing/InternalSettings.cpp
index 28bd501a706b240995a5f8c8336c8ea0245e35df..e872b38371e00d2a0c78dbcbb954c9636eb285b6 100644
--- a/Source/core/testing/InternalSettings.cpp
+++ b/Source/core/testing/InternalSettings.cpp
@@ -232,7 +232,6 @@
if (code == USCRIPT_INVALID_CODE)
return;
settings()->genericFontFamilySettings().setStandard(family, code);
- settings()->notifyGenericFontFamilyChange();
m_page->setNeedsRecalcStyleInAllFrames();
}
@@ -243,7 +242,6 @@
if (code == USCRIPT_INVALID_CODE)
return;
settings()->genericFontFamilySettings().setSerif(family, code);
- settings()->notifyGenericFontFamilyChange();
m_page->setNeedsRecalcStyleInAllFrames();
}
@@ -254,7 +252,6 @@
if (code == USCRIPT_INVALID_CODE)
return;
settings()->genericFontFamilySettings().setSansSerif(family, code);
- settings()->notifyGenericFontFamilyChange();
m_page->setNeedsRecalcStyleInAllFrames();
}
@@ -265,7 +262,6 @@
if (code == USCRIPT_INVALID_CODE)
return;
settings()->genericFontFamilySettings().setFixed(family, code);
- settings()->notifyGenericFontFamilyChange();
m_page->setNeedsRecalcStyleInAllFrames();
}
@@ -276,7 +272,6 @@
if (code == USCRIPT_INVALID_CODE)
return;
settings()->genericFontFamilySettings().setCursive(family, code);
- settings()->notifyGenericFontFamilyChange();
m_page->setNeedsRecalcStyleInAllFrames();
}
@@ -287,7 +282,6 @@
if (code == USCRIPT_INVALID_CODE)
return;
settings()->genericFontFamilySettings().setFantasy(family, code);
- settings()->notifyGenericFontFamilyChange();
m_page->setNeedsRecalcStyleInAllFrames();
}
@@ -298,7 +292,6 @@
if (code == USCRIPT_INVALID_CODE)
return;
settings()->genericFontFamilySettings().setPictograph(family, code);
- settings()->notifyGenericFontFamilyChange();
m_page->setNeedsRecalcStyleInAllFrames();
}
« no previous file with comments | « Source/core/page/Page.cpp ('k') | Source/platform/fonts/FontDescription.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698