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

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

Issue 2797973002: Removing duplicate functions and symbol names in core/css (Closed)
Patch Set: Removed unnecessary include Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSPrimitiveValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d553a47001d999ea99a702183d5c2a21ac00ef87..0dfffdcab5d3efeb99e492ac575cd569a492c990 100644
--- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
+++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
@@ -35,6 +35,7 @@
#include "core/css/CSSVariableData.h"
#include "core/css/ComputedStyleCSSValueMapping.h"
#include "core/css/parser/CSSParser.h"
+#include "core/css/zoomAdjustedPixelValue.h"
#include "core/dom/Document.h"
#include "core/dom/ExceptionCode.h"
#include "core/dom/PseudoElement.h"
@@ -183,12 +184,6 @@ CSSValueID cssIdentifierForFontSizeKeyword(int keywordSize) {
return static_cast<CSSValueID>(CSSValueXxSmall + keywordSize - 1);
}
-inline CSSPrimitiveValue* zoomAdjustedPixelValue(double value,
- const ComputedStyle& style) {
- return CSSPrimitiveValue::create(adjustFloatForAbsoluteZoom(value, style),
- CSSPrimitiveValue::UnitType::Pixels);
-}
-
void logUnimplementedPropertyID(CSSPropertyID propertyID) {
DEFINE_STATIC_LOCAL(HashSet<CSSPropertyID>, propertyIDSet, ());
if (!propertyIDSet.insert(propertyID).isNewEntry)
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSPrimitiveValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698