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

Side by Side Diff: third_party/WebKit/Source/core/css/zoomAdjustedPixelValue.h

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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef zoomAdjustedPixelValue_h
6 #define zoomAdjustedPixelValue_h
7
8 #include "core/css/CSSPrimitiveValue.h"
9 #include "core/style/ComputedStyle.h"
10
11 namespace blink {
12 class ComputedStyle;
13
14 inline CSSPrimitiveValue* zoomAdjustedPixelValue(double value,
15 const ComputedStyle& style) {
16 return CSSPrimitiveValue::create(adjustFloatForAbsoluteZoom(value, style),
17 CSSPrimitiveValue::UnitType::Pixels);
18 }
19 }
20 #endif // zoomAdjustedPixelValue_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698