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

Unified Diff: third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Only get prefix and no capitalization. Created 3 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: third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp b/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp
index c0317c8c8115721ac83150593dd4849553a608e1..4820e470c6efadab8f4768e0f8e8f414be491fed 100644
--- a/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp
@@ -283,10 +283,10 @@ void FontBuilder::checkForGenericFamilyChange(
} else {
Settings* settings = m_document->settings();
float fixedScaleFactor =
- (settings && settings->defaultFixedFontSize() &&
- settings->defaultFontSize())
- ? static_cast<float>(settings->defaultFixedFontSize()) /
- settings->defaultFontSize()
+ (settings && settings->getDefaultFixedFontSize() &&
+ settings->getDefaultFontSize())
+ ? static_cast<float>(settings->getDefaultFixedFontSize()) /
+ settings->getDefaultFontSize()
: 1;
size = oldDescription.isMonospace()
? newDescription.specifiedSize() / fixedScaleFactor

Powered by Google App Engine
This is Rietveld 408576698