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

Unified Diff: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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/CSSComputedStyleDeclaration.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
index c129d6b298538affbc2de795b479bf57d74409b3..a525011174ce5e326c3d8f1aa81b9d4fd99de476 100644
--- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
+++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
@@ -424,11 +424,11 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getFontSizeCSSValu
if (!style)
return nullptr;
- if (int keywordSize = style->fontDescription().keywordSize())
+ if (int keywordSize = style->getFontDescription().keywordSize())
return cssValuePool().createIdentifierValue(cssIdentifierForFontSizeKeyword(keywordSize));
- return zoomAdjustedPixelValue(style->fontDescription().computedPixelSize(), *style);
+ return zoomAdjustedPixelValue(style->getFontDescription().computedPixelSize(), *style);
}
bool CSSComputedStyleDeclaration::isMonospaceFont() const
@@ -440,7 +440,7 @@ bool CSSComputedStyleDeclaration::isMonospaceFont() const
if (!style)
return false;
- return style->fontDescription().isMonospace();
+ return style->getFontDescription().isMonospace();
}
static void logUnimplementedPropertyID(CSSPropertyID propertyID)
@@ -612,8 +612,8 @@ bool CSSComputedStyleDeclaration::cssPropertyMatches(CSSPropertyID propertyID, c
if (propertyID == CSSPropertyFontSize && propertyValue->isPrimitiveValue() && m_node) {
m_node->document().updateLayoutIgnorePendingStylesheets();
const ComputedStyle* style = m_node->ensureComputedStyle(m_pseudoElementSpecifier);
- if (style && style->fontDescription().keywordSize()) {
- CSSValueID sizeValue = cssIdentifierForFontSizeKeyword(style->fontDescription().keywordSize());
+ if (style && style->getFontDescription().keywordSize()) {
+ CSSValueID sizeValue = cssIdentifierForFontSizeKeyword(style->getFontDescription().keywordSize());
const CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(propertyValue);
if (primitiveValue->isValueID() && primitiveValue->getValueID() == sizeValue)
return true;
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataTransfer.cpp ('k') | third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698