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

Unified Diff: sky/engine/core/rendering/style/RenderStyle.cpp

Issue 714783003: Remove some straggling zoom-related code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/rendering/RenderView.cpp ('k') | sky/engine/platform/Length.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/style/RenderStyle.cpp
diff --git a/sky/engine/core/rendering/style/RenderStyle.cpp b/sky/engine/core/rendering/style/RenderStyle.cpp
index fab3950699b2369f47219fce51bb0008223023f7..f98c66f386778c8ba9cc069dcd823319c3d76831 100644
--- a/sky/engine/core/rendering/style/RenderStyle.cpp
+++ b/sky/engine/core/rendering/style/RenderStyle.cpp
@@ -938,9 +938,6 @@ void RenderStyle::setLetterSpacing(float letterSpacing)
void RenderStyle::setFontSize(float size)
{
- // size must be specifiedSize if Text Autosizing is enabled, but computedSize if text
- // zoom is enabled (if neither is enabled it's irrelevant as they're probably the same).
-
ASSERT(std::isfinite(size));
if (!std::isfinite(size) || size < 0)
size = 0;
« no previous file with comments | « sky/engine/core/rendering/RenderView.cpp ('k') | sky/engine/platform/Length.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698